diff options
author | megamage <none@none> | 2009-08-17 20:00:28 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-17 20:00:28 -0500 |
commit | c84d37c2c21371eb871c16b449a9bac0cff6da13 (patch) | |
tree | e13d497851d0ad00e6a0c0faad94844a12f23f1c /src/game | |
parent | 14022b619f41a348521c6442825b033f96c0ce87 (diff) |
*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
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/AggressorAI.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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() |