]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Fix a bug caused by something I forgot regarding display digits
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 14 Mar 2012 23:22:31 +0000 (01:22 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 14 Mar 2012 23:22:31 +0000 (01:22 +0200)
data/qcsrc/server/cl_weaponsystem.qc

index 40013071b5eb60b8201c18c909e7e60f38c964b9..9decb8c170e12794050d540085b0b427bbb11889 100644 (file)
@@ -1600,7 +1600,7 @@ void W_DisplayDigitThink()
        w_ammo = self.owner.(self.owner.current_ammo);\r
 \r
        // the owner has switched to another weapon, remove the digits\r
-       if(self.weapon != self.owner.weapon || self.owner.classname != "player" || self.deadflag != DEAD_NO)\r
+       if(self.weapon != self.owner.weapon || self.owner.classname != "player" || self.owner.deadflag != DEAD_NO)\r
        {\r
                self.nextthink = 0;\r
                remove(self);\r