Fixed untested sand walking bit size count only the one's as step

This commit is contained in:
Willem Cazander 2025-01-23 15:36:43 +01:00
parent 4dcba6b3d2
commit 6e75b1d115

View file

@ -313,10 +313,10 @@ public class FourCornerZionStenoLexer {
lexer.smokeSignals.burnSandWormSignOutOfOrder(lexer.currLine, lexer.currCol); lexer.smokeSignals.burnSandWormSignOutOfOrder(lexer.currLine, lexer.currCol);
return; return;
} }
bitSize++;
bitIdxLast = bitIdx; bitIdxLast = bitIdx;
int bitOff = bitIdx - FourCornerDotCake.FC_SAND_OLGOI.getStart(); int bitOff = bitIdx - FourCornerDotCake.FC_SAND_OLGOI.getStart();
sandWalking[bitOff] = 1; sandWalking[bitOff] = 1;
bitSize = bitOff;
} }
lexer.sandwormHead.clear(); lexer.sandwormHead.clear();
PrimitiveIterator.OfInt i = Arrays.stream(sandWalking).iterator(); PrimitiveIterator.OfInt i = Arrays.stream(sandWalking).iterator();