From: MirceaKitsune Date: Wed, 1 Feb 2012 10:34:18 +0000 (+0200) Subject: Hopefully fix a bug causing display digits to appear as floating near the player... X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=dc7497e736266934106a9cc28ec2c99a7c390c4e;p=voretournament%2Fvoretournament.git Hopefully fix a bug causing display digits to appear as floating near the player when he dies sometimes --- 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.