From 4a1f4ffcaf9cb173457f41254e13edc365ba28b4 Mon Sep 17 00:00:00 2001 From: Finny Merrill Date: Mon, 5 Apr 2004 11:54:08 +0000 Subject: [PATCH] Spies can now REALLY fire without uncovering if they're disguised to their own team --- weapons.qc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/weapons.qc b/weapons.qc index c789304..8684b8e 100644 --- a/weapons.qc +++ b/weapons.qc @@ -2941,8 +2941,7 @@ void() W_Attack = //WK Tranq does not remove disguise //GR Spy can fire and keep their skin if not color-disguised. - if (self.is_undercover && (self.current_weapon != WEAP_TRANQ && self.current_weapon != WEAP_MAUSER) - && (self.undercover_team != self.team_no)) + if (self.undercover_team && (self.current_weapon != WEAP_TRANQ && self.current_weapon != WEAP_MAUSER)) Spy_RemoveDisguise(self); if (self.job & JOB_THIEF && (self.job & JOB_ACTIVE || self.job & JOB_FULL_HIDE))