From: terencehill Date: Wed, 7 Jan 2015 13:50:37 +0000 (+0100) Subject: Fix "spectating a frozen player also darkens the spectator's name in scoreboard" X-Git-Tag: xonotic-v0.8.0~6^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3f25c5d552f540d8f5e0b2fe811eb7c011f04510;p=xonotic%2Fxonotic-data.pk3dir.git Fix "spectating a frozen player also darkens the spectator's name in scoreboard" --- 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; }