From: MirceaKitsune Date: Wed, 14 Mar 2012 23:22:31 +0000 (+0200) Subject: Fix a bug caused by something I forgot regarding display digits X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=488f1767beaef782ecdebb8bd7a0b6f3125bafc1;p=voretournament%2Fvoretournament.git Fix a bug caused by something I forgot regarding display digits --- diff --git a/data/qcsrc/server/cl_weaponsystem.qc b/data/qcsrc/server/cl_weaponsystem.qc index 40013071..9decb8c1 100644 --- a/data/qcsrc/server/cl_weaponsystem.qc +++ b/data/qcsrc/server/cl_weaponsystem.qc @@ -1600,7 +1600,7 @@ void W_DisplayDigitThink() w_ammo = self.owner.(self.owner.current_ammo); // the owner has switched to another weapon, remove the digits - if(self.weapon != self.owner.weapon || self.owner.classname != "player" || self.deadflag != DEAD_NO) + if(self.weapon != self.owner.weapon || self.owner.classname != "player" || self.owner.deadflag != DEAD_NO) { self.nextthink = 0; remove(self);