]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/shownames.qc
Don't show floating player names when observing
[voretournament/voretournament.git] / data / qcsrc / client / shownames.qc
index 23e5290b5f81de565bcf5bb61b9e8755199dcee8..f3edd2820ef40f234334ab922483d369a8b9cec2 100644 (file)
@@ -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"))