diff options
author | megamage <none@none> | 2009-03-15 17:54:24 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-15 17:54:24 -0600 |
commit | 61f519ca26f6d75e2096b5469691a0f37d53bbed (patch) | |
tree | dd7acc3a654a5c33d37f1e37c362515fa42048a5 /src/shared/Database/DBCStructure.h | |
parent | 3c9c17b253e64da78fa395c1a972b6ce09cc926f (diff) |
[7464] Move check of spell using for lock open to single function. Remove more hacks. Author: VladimirMangos
--HG--
branch : trunk
Diffstat (limited to 'src/shared/Database/DBCStructure.h')
-rw-r--r-- | src/shared/Database/DBCStructure.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/shared/Database/DBCStructure.h b/src/shared/Database/DBCStructure.h index 8f2fa87e17f..12fa9f7d323 100644 --- a/src/shared/Database/DBCStructure.h +++ b/src/shared/Database/DBCStructure.h @@ -981,13 +981,15 @@ struct ItemSetEntry uint32 required_skill_value; // 52 m_requiredSkillRank }; +#define MAX_LOCK_CASE 8 + struct LockEntry { uint32 ID; // 0 m_ID - uint32 Type[8]; // 1-8 m_Type - uint32 Index[8]; // 9-16 m_Index - uint32 Skill[8]; // 17-24 m_Skill - //uint32 Action[8]; // 25-32 m_Action + uint32 Type[MAX_LOCK_CASE]; // 1-8 m_Type + uint32 Index[MAX_LOCK_CASE]; // 9-16 m_Index + uint32 Skill[MAX_LOCK_CASE]; // 17-24 m_Skill + //uint32 Action[MAX_LOCK_CASE]; // 25-32 m_Action }; struct MailTemplateEntry |