Skip to content

Commit

Permalink
Doomwalker: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Sep 20, 2023
1 parent ced9ec1 commit 5a2a4a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ struct boss_doomwalkerAI : public CombatAI
void KilledUnit(Unit* victim) override
{
CombatAI::KilledUnit(victim);
if (victim->IsPlayer())
if (!victim->IsPlayer())
return;

victim->CastSpell(nullptr, SPELL_MARK_OF_DEATH_PLAYER, TRIGGERED_OLD_TRIGGERED, nullptr, nullptr, m_creature->GetObjectGuid());
Expand Down

0 comments on commit 5a2a4a2

Please sign in to comment.