*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
This commit is contained in:
megamage
2009-08-17 20:00:28 -05:00
parent 14022b619f
commit c84d37c2c2
4 changed files with 12 additions and 2 deletions
+2
View File
@@ -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()