From: Mario Date: Wed, 13 Jul 2016 08:44:08 +0000 (+1000) Subject: Also allow glow effect in non-teamplay modes X-Git-Tag: xonotic-v0.8.2~700^2~72 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ce810cefe210a32a891169229649b3f7d18ad639;p=xonotic%2Fxonotic-data.pk3dir.git Also allow glow effect in non-teamplay modes --- diff --git a/qcsrc/client/hud/panel/radar.qc b/qcsrc/client/hud/panel/radar.qc index 36668ba65..6794883aa 100644 --- a/qcsrc/client/hud/panel/radar.qc +++ b/qcsrc/client/hud/panel/radar.qc @@ -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))