Skip to content

Commit

Permalink
SERVER: Increase vertical velocity threshold for sprinting
Browse files Browse the repository at this point in the history
  • Loading branch information
MotoLegacy committed Nov 30, 2024
1 parent db6fa67 commit 81b12b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/server/weapons/weapon_core.qc
Original file line number Diff line number Diff line change
Expand Up @@ -1718,7 +1718,7 @@ void() CheckPlayer =
// CoD continues the animation but applies a move speed
// penalty, however, that makes no sense! This also applies
// as a better implementation to stop sprinting while jumping.
if (fabs(self.velocity_z) >= 5)
if (fabs(self.velocity_z) >= 150)
W_SprintStop();
// Otherwise, also stop sprinting if we are moving at a base below
// predicted for our slowest possible weapon. This removes the need
Expand Down

0 comments on commit 81b12b2

Please sign in to comment.