diff options
Diffstat (limited to 'src/game/CreatureAI.cpp')
-rw-r--r-- | src/game/CreatureAI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/CreatureAI.cpp b/src/game/CreatureAI.cpp index 6f0b5949236..5fd35150b52 100644 --- a/src/game/CreatureAI.cpp +++ b/src/game/CreatureAI.cpp @@ -98,7 +98,7 @@ void CreatureAI::DoZoneInCombat(Creature* creature) } } - if (!creature->CanHaveThreatList() || creature->getThreatManager().isThreatListEmpty()) + if (!creature->CanHaveThreatList() || !creature->getVictim()) { sLog.outError("DoZoneInCombat called for creature that either cannot have threat list or has empty threat list (creature entry = %d)", creature->GetTypeId() == TYPEID_UNIT ? ((Creature*)creature)->GetEntry() : 0); return; |