mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-16 17:10:55 +00:00
SERVER: Fix setting speed penalty to 0 when firing while Prone
This commit is contained in:
parent
bc411eac73
commit
e768f28530
1 changed files with 1 additions and 1 deletions
|
@ -1168,7 +1168,7 @@ void(float side) W_Fire =
|
|||
|
||||
// Players shouldn't be allowed to move while firing and prone.
|
||||
if (self.stance == 0) {
|
||||
self.speed_penalty = 0;
|
||||
self.speed_penalty = 0.01;
|
||||
self.speed_penalty_time = time + delay;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue