]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Don't show floating player names when observing
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 6 Nov 2011 15:59:21 +0000 (17:59 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 6 Nov 2011 15:59:21 +0000 (17:59 +0200)
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"))