From: Samual Date: Tue, 30 Aug 2011 08:46:05 +0000 (-0400) Subject: Fix seeing the name tag for the person you're spectating X-Git-Tag: xonotic-v0.5.0~14^2^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f507e6cde66c4c2c91dff88438bbac804104e42b;p=xonotic%2Fxonotic-data.pk3dir.git Fix seeing the name tag for the person you're spectating --- diff --git a/qcsrc/client/shownames.qc b/qcsrc/client/shownames.qc index 3e9a22cfd..b13f6122c 100644 --- a/qcsrc/client/shownames.qc +++ b/qcsrc/client/shownames.qc @@ -11,9 +11,10 @@ void Draw_ShowNames(entity ent) { if(!autocvar_hud_shownames) return; - - if((ent.sv_entnum == player_localentnum) && !(autocvar_hud_shownames_self && autocvar_chase_active)) - return; + + if((ent.sv_entnum == player_localentnum) || (ent.sv_entnum == spectatee_status)) // ent is me or person i'm spectating + if not (autocvar_hud_shownames_self && autocvar_chase_active) + return; makevectors(view_angles);