From dc7497e736266934106a9cc28ec2c99a7c390c4e Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Wed, 1 Feb 2012 12:34:18 +0200 Subject: [PATCH] Hopefully fix a bug causing display digits to appear as floating near the player when he dies sometimes --- data/qcsrc/server/cl_weaponsystem.qc | 2 +- docs/TODO.txt | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/data/qcsrc/server/cl_weaponsystem.qc b/data/qcsrc/server/cl_weaponsystem.qc index dedc00ba..85d65d47 100644 --- a/data/qcsrc/server/cl_weaponsystem.qc +++ b/data/qcsrc/server/cl_weaponsystem.qc @@ -1587,7 +1587,7 @@ void W_DisplayDigitThink() self.nextthink = time; // the owner has switched to another weapon, remove the digits - if(self.weapon != self.owner.weapon) + if(self.weapon != self.owner.weapon || self.owner.classname != "player" || self.deadflag != DEAD_NO) { self.nextthink = 0; remove(self); diff --git a/docs/TODO.txt b/docs/TODO.txt index a5906a64..76fc023a 100644 --- a/docs/TODO.txt +++ b/docs/TODO.txt @@ -118,8 +118,6 @@ - 0.7: Better portrait images. -- 0.7 BUG: If the player is dead, his display digits still appear on his third person model, visible with chase event camera - - 0.7 BUG: Default player model is broken? - 0.7 BUG: Display digits on th 1st persom model disappear when the next map starts. -- 2.39.2