Core/Globals: cache SpellSpecific and AuraState information instead of computing them each time they're needed

This commit is contained in:
roc13x committed 2017-05-04 00:12:11 +01:00
1 parent c6aa63536e
commit 0b2e5adeb1
5 files changed
+30

No files matched your search

+3
View File
@@ -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()