]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Also allow glow effect in non-teamplay modes
authorMario <mario@smbclan.net>
Wed, 13 Jul 2016 08:44:08 +0000 (18:44 +1000)
committerMario <mario@smbclan.net>
Wed, 13 Jul 2016 08:44:08 +0000 (18:44 +1000)
qcsrc/client/hud/panel/radar.qc

index 36668ba65aa7d69b22fe5120f8a4b4f9b7083c59..6794883aaede40f53fd1e8f769e6119af0df9235 100644 (file)
@@ -356,7 +356,7 @@ void HUD_Radar()
        FOREACH_ENTITY_FLAGS(teamradar_icon, 0xFFFFFF, {
                if ( hud_panel_radar_mouse )
                if ( it.health > 0 || !it.health )
-               if ( it.team == myteam+1 || gametype == MAPINFO_TYPE_RACE )
+               if ( it.team == myteam+1 || gametype == MAPINFO_TYPE_RACE || !(serverflags & SERVERFLAG_TEAMPLAY) )
                {
                        vector coord = teamradar_texcoord_to_2dcoord(teamradar_3dcoord_to_texcoord(it.origin));
                        if(vdist((mousepos - coord), <, 8))