From ca766bdfaee47fa5d4b43688960c47d0d4600492 Mon Sep 17 00:00:00 2001 From: Samual Date: Tue, 30 Aug 2011 02:47:21 -0400 Subject: [PATCH] Check teams when player is a .caplayer -- A dead caplayer does not need to know enemy information --- qcsrc/server/ent_cs.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/ent_cs.qc b/qcsrc/server/ent_cs.qc index 9c4bf5975..f127fb26e 100644 --- a/qcsrc/server/ent_cs.qc +++ b/qcsrc/server/ent_cs.qc @@ -30,7 +30,7 @@ float entcs_customize() return FALSE; if(other == o) return FALSE; - if(other.classname == "player") + if((other.classname == "player") || other.caplayer) if(!teamplay || o.team != other.team) if not (radar_showennemies) return FALSE; -- 2.39.2