From: MirceaKitsune Date: Sun, 6 Nov 2011 15:59:21 +0000 (+0200) Subject: Don't show floating player names when observing X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d187b41b5eba6742164c3ce820c51b07dd0bb5b0;p=voretournament%2Fvoretournament.git Don't show floating player names when observing --- diff --git a/data/qcsrc/client/shownames.qc b/data/qcsrc/client/shownames.qc index 23e5290b..f3edd282 100644 --- a/data/qcsrc/client/shownames.qc +++ b/data/qcsrc/client/shownames.qc @@ -9,6 +9,8 @@ void Draw_ShowNames(entity ent) { if(!cvar("hud_shownames")) return; + if(spectatee_status < 0) + return; if(ent.sv_entnum == player_localentnum && !cvar("chase_active")) return; if(getstati(STAT_VORE_EATEN) && cvar("cl_vore_stomachmodel") >= 1 && !cvar("chase_active"))