]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Also don't show our predator on the radar, since it would once again overlap with...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 18 Mar 2012 22:20:29 +0000 (00:20 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 18 Mar 2012 22:20:29 +0000 (00:20 +0200)
data/qcsrc/client/radar.qc

index a7cd6304446679f0d3ec0e30cc8f04b10baa5af4..4350b0cb83c2c67f7d83ac42b3d980a25f6178ab 100644 (file)
@@ -387,6 +387,7 @@ void() radar_view =
                col = GetPlayerColor(tm.sv_entnum);\r
                if(cvar("cl_radar_players") > 1 || (cvar("cl_radar_players") > 0 && teamplay && GetPlayerColor(player_localentnum - 1) == col))\r
                if not(tm.sv_entnum == spectatee_status - 1) // don't show the player we are spectating, since we also draw ourself separately\r
+               if not(tm.sv_entnum == getstati(STAT_VORE_EATEN) - 1) // don't show the player who ate us, since we also draw ourself separately\r
                if not(tm.eaten) // don't show prey on the radar\r
                        draw_radar_player(tm.origin, tm.angles, GetTeamRGB(col));\r
        }\r