aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-02-11 22:59:02 +0100
committerQAston <none@none>2009-02-11 22:59:02 +0100
commitc4fa6a5d54adbb76b5c7fd4a27d2a453149a30c9 (patch)
treebe9b1722c49a843178840e8db0074977e193ca97 /src/game/Creature.cpp
parent376788d761a2f06c7ceb6437fab801cee0c9abab (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.cpp2
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();