diff options
author | QAston <none@none> | 2009-02-11 22:59:02 +0100 |
---|---|---|
committer | QAston <none@none> | 2009-02-11 22:59:02 +0100 |
commit | c4fa6a5d54adbb76b5c7fd4a27d2a453149a30c9 (patch) | |
tree | be9b1722c49a843178840e8db0074977e193ca97 /src/game/Creature.cpp | |
parent | 376788d761a2f06c7ceb6437fab801cee0c9abab (diff) |
*Allow creatures to have up to 8 spells in creature_template.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r-- | src/game/Creature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 87dc3674601..b87540e1802 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -153,7 +153,7 @@ m_meleeDamageSchoolMask(SPELL_SCHOOL_MASK_NORMAL),m_creatureInfo(NULL), m_DBTabl m_regenTimer = 200; m_valuesCount = UNIT_END; - for(int i =0; i<4; ++i) + for(int i =0; i<CREATURE_MAX_SPELLS; ++i) m_spells[i] = 0; m_CreatureSpellCooldowns.clear(); |