aboutsummaryrefslogtreecommitdiff
path: root/src/game/DBCStructure.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/DBCStructure.h')
-rw-r--r--src/game/DBCStructure.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/DBCStructure.h b/src/game/DBCStructure.h
index a7433574162..50a543859cd 100644
--- a/src/game/DBCStructure.h
+++ b/src/game/DBCStructure.h
@@ -725,11 +725,13 @@ struct CreatureFamilyEntry
// 27 m_iconFile
};
+#define MAX_CREATURE_SPELL_DATA_SLOT 4
+
struct CreatureSpellDataEntry
{
uint32 ID; // 0 m_ID
- //uint32 spellId[4]; // 1-4 m_spells[4]
- //uint32 availability[4]; // 4-7 m_availability[4]
+ uint32 spellId[MAX_CREATURE_SPELL_DATA_SLOT]; // 1-4 m_spells[4]
+ //uint32 availability[MAX_CREATURE_SPELL_DATA_SLOT]; // 4-7 m_availability[4]
};
struct CreatureTypeEntry