From 3f25c5d552f540d8f5e0b2fe811eb7c011f04510 Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 7 Jan 2015 14:50:37 +0100 Subject: [PATCH] Fix "spectating a frozen player also darkens the spectator's name in scoreboard" --- qcsrc/server/mutators/gamemode_freezetag.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/mutators/gamemode_freezetag.qc b/qcsrc/server/mutators/gamemode_freezetag.qc index f5c76f16f..5ab96277b 100644 --- a/qcsrc/server/mutators/gamemode_freezetag.qc +++ b/qcsrc/server/mutators/gamemode_freezetag.qc @@ -205,7 +205,7 @@ void freezetag_Unfreeze(entity attacker) float freezetag_isEliminated(entity e) { - if(e.frozen == 1 || e.deadflag != DEAD_NO) + if(IS_PLAYER(e) && (e.frozen == 1 || e.deadflag != DEAD_NO)) return TRUE; return FALSE; } -- 2.39.2