]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Hopefully fix a bug causing display digits to appear as floating near the player...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 1 Feb 2012 10:34:18 +0000 (12:34 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 1 Feb 2012 10:34:18 +0000 (12:34 +0200)
data/qcsrc/server/cl_weaponsystem.qc
docs/TODO.txt

index dedc00ba75aa1fe5cb1ec6eaefaf3d2c4e3ca8b3..85d65d47022c1e3d1e42e427e4f54b3f46e9c427 100644 (file)
@@ -1587,7 +1587,7 @@ void W_DisplayDigitThink()
        self.nextthink = time;\r
 \r
        // the owner has switched to another weapon, remove the digits\r
-       if(self.weapon != self.owner.weapon)\r
+       if(self.weapon != self.owner.weapon || self.owner.classname != "player" || self.deadflag != DEAD_NO)\r
        {\r
                self.nextthink = 0;\r
                remove(self);\r
index a5906a6453c9c5612bd8becd4da68cdcdd49fd33..76fc023a4fa97a2325f2ca73606cffbce7cf4df0 100644 (file)
 \r
 - 0.7: Better portrait images.\r
 \r
-- 0.7 BUG: If the player is dead, his display digits still appear on his third person model, visible with chase event camera\r
-\r
 - 0.7 BUG: Default player model is broken?\r
 \r
 - 0.7 BUG: Display digits on th 1st persom model disappear when the next map starts.\r