]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud/panel/radar.qc
serverflags & SERVERFLAG_TEAMPLAY --> teamplay
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud / panel / radar.qc
index e935d0cb2b27eba1b395593ca192b412afc13c2e..88cdc3649e764ca41fa756bd595ff6ccc38bdfca 100644 (file)
@@ -356,7 +356,7 @@ void HUD_Radar()
        IL_EACH(g_radaricons, it.teamradar_icon, {
                if ( hud_panel_radar_mouse )
                if ( it.health >= 0 )
-               if ( it.team == myteam+1 || gametype == MAPINFO_TYPE_RACE || !(serverflags & SERVERFLAG_TEAMPLAY) )
+               if ( it.team == myteam + 1 || gametype == MAPINFO_TYPE_RACE || !teamplay )
                {
                        vector coord = teamradar_texcoord_to_2dcoord(teamradar_3dcoord_to_texcoord(it.origin));
                        if(vdist((mousepos - coord), <, 8))