From c84d37c2c21371eb871c16b449a9bac0cff6da13 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 17 Aug 2009 20:00:28 -0500 Subject: *Fix the bug that Reset is not called for some scripts. This should fix the bug of quest "death's challenge". Thanks to Kudlaty --HG-- branch : trunk --- src/game/AggressorAI.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/AggressorAI.cpp') diff --git a/src/game/AggressorAI.cpp b/src/game/AggressorAI.cpp index 3050c772e28..3ede976a229 100644 --- a/src/game/AggressorAI.cpp +++ b/src/game/AggressorAI.cpp @@ -48,6 +48,8 @@ void SpellAI::InitializeAI() for(uint32 i = 0; i < CREATURE_MAX_SPELLS; ++i) if(me->m_spells[i] && GetSpellStore()->LookupEntry(me->m_spells[i])) spells.push_back(me->m_spells[i]); + + CreatureAI::InitializeAI(); } void SpellAI::Reset() -- cgit v1.2.3