mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-26 13:51:01 +00:00
SERVER: Reset player zoom state when drinking Perk-A-Cola
This commit is contained in:
parent
caaca9b4ae
commit
73dc723a70
1 changed files with 4 additions and 1 deletions
|
@ -135,8 +135,11 @@ void DrinkPerk(float perk) {
|
|||
entity tempe = self;
|
||||
self = other;
|
||||
|
||||
if (self.sprinting)
|
||||
if (self.sprinting) {
|
||||
self.sprinting = 0;
|
||||
self.zoom = 0;
|
||||
}
|
||||
|
||||
|
||||
self.maxspeed *= GetWeaponWalkSpeed(self.perks, self.weapon);
|
||||
|
||||
|
|
Loading…
Reference in a new issue