From f507e6cde66c4c2c91dff88438bbac804104e42b Mon Sep 17 00:00:00 2001 From: Samual Date: Tue, 30 Aug 2011 04:46:05 -0400 Subject: [PATCH] Fix seeing the name tag for the person you're spectating --- qcsrc/client/shownames.qc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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); -- 2.39.2