mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 03:41:15 +00:00
SERVER: Add grace period before velocity-based sprint stop
This commit is contained in:
parent
86df8159a0
commit
00152d2053
1 changed files with 1 additions and 1 deletions
|
@ -1678,7 +1678,7 @@ void() CheckPlayer =
|
|||
// predicted for our slowest possible weapon. This removes the need
|
||||
// for an engine-side hack for toggle sprinting turning off when
|
||||
// you're applying less pressure to the analog stick.
|
||||
else if (vlen(self.velocity) <= 130)
|
||||
else if (vlen(self.velocity) <= 130 && self.sprint_delay <= time + 0.75)
|
||||
W_SprintStop();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue