mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 11:51:11 +00:00
SERVER: Prohibit sprinting while ADS
This commit is contained in:
parent
199f38dc02
commit
fc9d62fc9f
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ void() W_SprintStop =
|
||||||
|
|
||||||
|
|
||||||
void W_SprintStart () {
|
void W_SprintStart () {
|
||||||
if (self.speed_penalty_time > time)
|
if (self.speed_penalty_time > time || self.zoom != 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
self.sprint_start_time = time;
|
self.sprint_start_time = time;
|
||||||
|
|
Loading…
Reference in a new issue