From: MirceaKitsune Date: Sun, 18 Mar 2012 22:20:29 +0000 (+0200) Subject: Also don't show our predator on the radar, since it would once again overlap with... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4e1d6af46f2efdb96f56ea29b62affae53256f0a;p=voretournament%2Fvoretournament.git Also don't show our predator on the radar, since it would once again overlap with our own arrow --- diff --git a/data/qcsrc/client/radar.qc b/data/qcsrc/client/radar.qc index a7cd6304..4350b0cb 100644 --- a/data/qcsrc/client/radar.qc +++ b/data/qcsrc/client/radar.qc @@ -387,6 +387,7 @@ void() radar_view = col = GetPlayerColor(tm.sv_entnum); if(cvar("cl_radar_players") > 1 || (cvar("cl_radar_players") > 0 && teamplay && GetPlayerColor(player_localentnum - 1) == col)) if not(tm.sv_entnum == spectatee_status - 1) // don't show the player we are spectating, since we also draw ourself separately + if not(tm.sv_entnum == getstati(STAT_VORE_EATEN) - 1) // don't show the player who ate us, since we also draw ourself separately if not(tm.eaten) // don't show prey on the radar draw_radar_player(tm.origin, tm.angles, GetTeamRGB(col)); }