diff options
author | thenecromancer <none@none> | 2010-01-20 20:54:32 +0100 |
---|---|---|
committer | thenecromancer <none@none> | 2010-01-20 20:54:32 +0100 |
commit | 721c9262291833868b6c478410c23f732eca4d4b (patch) | |
tree | 23b53485981afd57654ebe2f9f10362771cd6cc9 /src/game/SpellAuras.cpp | |
parent | bfad15470f38c2000313a53ec670b87e15bbf87b (diff) |
Change GetSpellSpecific() to have SpellEntry argument instead of ID, this saves lookups in spellstore for entries we already have.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r-- | src/game/SpellAuras.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index c71e12d0fc8..a3128ba7567 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -1209,7 +1209,7 @@ void Aura::HandleAuraSpecificMods(AuraApplication const * aurApp, Unit * caster, } break; case SPELLFAMILY_DEATHKNIGHT: - if (GetSpellSpecific(GetId()) == SPELL_SPECIFIC_PRESENCE) + if (GetSpellSpecific(GetSpellProto()) == SPELL_SPECIFIC_PRESENCE) { AuraEffect *bloodPresenceAura=0; // healing by damage done AuraEffect *frostPresenceAura=0; // increased health |