diff options
author | KingPin <none@none> | 2009-03-07 07:47:02 -0500 |
---|---|---|
committer | KingPin <none@none> | 2009-03-07 07:47:02 -0500 |
commit | ae7078784366172e27d2fe0ac4b18345b628fd3f (patch) | |
tree | 0aef6d01833a36338cd7335bf617a374e8215e9e /src/game/ObjectMgr.h | |
parent | 892e54c79cfe4282818701561fbdd118232c85de (diff) |
Extend the spell_disabled table to have a seperate flag for pet spells from player spells, Patch by Koani
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.h')
-rw-r--r-- | src/game/ObjectMgr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/ObjectMgr.h b/src/game/ObjectMgr.h index 72497170b3a..5489bf7e42f 100644 --- a/src/game/ObjectMgr.h +++ b/src/game/ObjectMgr.h @@ -712,6 +712,7 @@ class ObjectMgr void LoadSpellDisabledEntrys(); bool IsPlayerSpellDisabled(uint32 spellid) { return (m_DisabledPlayerSpells.count(spellid) != 0); } bool IsCreatureSpellDisabled(uint32 spellid) { return (m_DisabledCreatureSpells.count(spellid) != 0); } + bool IsPetSpellDisabled(uint32 spellid) { return (m_DisabledPetSpells.count(spellid) != 0); } int GetIndexForLocale(LocaleConstant loc); LocaleConstant GetLocaleForIndex(int i); @@ -831,6 +832,7 @@ class ObjectMgr std::set<uint32> m_DisabledPlayerSpells; std::set<uint32> m_DisabledCreatureSpells; + std::set<uint32> m_DisabledPetSpells; GraveYardMap mGraveYardMap; |