Skip to content

Commit

Permalink
Big changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SamB440 committed Nov 29, 2024
1 parent 5edf92f commit 782f8f8
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -714,23 +714,23 @@ private void loopVectors(GrimPlayer player, Set<VectorData> possibleVectors, flo

final KnownInput knownInput = player.packetStateData.knownInput;
if (knownInput.forward()) {
forwardMax += 1;
forwardMin += 1;
forwardMax++;
forwardMin++;
}

if (knownInput.backward() && (!player.isSprinting || player.isSwimming)) {
forwardMax -= 1;
forwardMin -= 1;
forwardMax--;
forwardMin--;
}

if (knownInput.left()) {
strafeMax += 1;
strafeMin += 1;
strafeMax++;
strafeMin++;
}

if (knownInput.right()) {
strafeMax -= 1;
strafeMin -= 1;
strafeMax--;
strafeMin--;
}
}

Expand Down

0 comments on commit 782f8f8

Please sign in to comment.