Spies can now REALLY fire without uncovering if they're disguised to their own team

This commit is contained in:
Finny Merrill 2004-04-05 11:54:08 +00:00
parent 76eee5f704
commit 4a1f4ffcaf

View file

@ -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))