*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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user