mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2024-11-13 00:24:33 +00:00
Spies can now REALLY fire without uncovering if they're disguised to their own team
This commit is contained in:
parent
76eee5f704
commit
4a1f4ffcaf
1 changed files with 1 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue