]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Show all players in race mode 281/head
authorMario <mario@smbclan.net>
Sun, 7 Feb 2016 23:19:48 +0000 (09:19 +1000)
committerMario <mario@smbclan.net>
Sun, 7 Feb 2016 23:19:48 +0000 (09:19 +1000)
qcsrc/client/hud/panel/radar.qc

index 2082f70b1a3246046544fdff356918c62f311370..4ab16d05290edea6a7dd0f6885e4dbaf946a3c3a 100644 (file)
@@ -340,7 +340,7 @@ void HUD_Radar()
        FOREACH_ENTITY_FLAGS(teamradar_icon, 0xFFFFFF, LAMBDA(
                if ( hud_panel_radar_mouse )
                if ( it.health > 0 )
-               if ( it.team == myteam+1 )
+               if ( it.team == myteam+1 || gametype == MAPINFO_TYPE_RACE )
                {
                        vector coord = teamradar_texcoord_to_2dcoord(teamradar_3dcoord_to_texcoord(it.origin));
                        if(vdist((mousepos - coord), <, 8))