Core/Globals: cache SpellSpecific and AuraState information instead of computing them each time they're needed
This commit is contained in:
1 parent
c6aa63536e
commit
0b2e5adeb1
5 files changed
+30
No files matched your search
@@ -1028,6 +1028,9 @@ SpellInfo::SpellInfo(SpellEntry const* spellEntry, SpellEffectEntry const** effe
|
||||
|
||||
ChainEntry = NULL;
|
||||
ExplicitTargetMask = 0;
|
||||
|
||||
_spellSpecific = SPELL_SPECIFIC_NORMAL;
|
||||
_auraState = AURA_STATE_NONE;
|
||||
}
|
||||
|
||||
SpellInfo::~SpellInfo()
|
||||
|
||||
Reference in new issue
Block a user