This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit e01245c57b6d9552df0687614649683dbdf412f1
Author: MAN-AT-ARMS <m4n4t4...@gmail.com>
Date:   Tue Mar 24 07:08:34 2015 -0400

    SP: Fix attacker icon being default image if attacker left (Unused)
---
 SP/code/cgame/cg_draw.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/SP/code/cgame/cg_draw.c b/SP/code/cgame/cg_draw.c
index aa835f1..e9b0c3b 100644
--- a/SP/code/cgame/cg_draw.c
+++ b/SP/code/cgame/cg_draw.c
@@ -898,6 +898,11 @@ static float CG_DrawAttacker( float y ) {
                return y;
        }
 
+       if ( !cgs.clientinfo[clientNum].infoValid ) {
+               cg.attackerTime = 0;
+               return y;
+       }
+
        t = cg.time - cg.attackerTime;
        if ( t > ATTACKER_HEAD_TIME ) {
                cg.attackerTime = 0;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/iortcw.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to