return FALSE;
if(other == o)
return FALSE;
- if(other.classname == "player")
- if(!teams_matter || o.team != other.team)
+ if((other.classname == "player") || other.caplayer)
+ if(!teamplay || o.team != other.team)
if not (radar_showennemies)
return FALSE;
return TRUE;