Skip to content

Commit

Permalink
[1.5] Tweak logic to wake up the whole pack of Gargoyles when disturb…
Browse files Browse the repository at this point in the history
…ed (#7503)
  • Loading branch information
StephenCWills authored Oct 30, 2024
1 parent 7edd884 commit 78ce916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/monster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1589,7 +1589,7 @@ void FollowTheLeader(Monster &monster)

if (monster.ai != MonsterAIID::Gargoyle || (monster.flags & MFLAG_ALLOW_SPECIAL) == 0)
return;
if (leader->mode == MonsterMode::SpecialMeleeAttack && (leader->flags & MFLAG_ALLOW_SPECIAL) != 0)
if (leader->mode == MonsterMode::SpecialMeleeAttack)
return;
monster.flags &= ~MFLAG_ALLOW_SPECIAL;
monster.mode = MonsterMode::SpecialMeleeAttack;
Expand Down

0 comments on commit 78ce916

Please sign in to comment.