diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 407eec2d5..e39247007 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3526,6 +3526,7 @@ void Aura::HandleAuraModStun(bool apply, bool Real) void Aura::HandleModStealth(bool apply, bool Real) { Unit* pTarget = m_target; + SpellEntry const* pSpellInfo = GetSpellProto(); if (apply) { @@ -3561,7 +3562,7 @@ void Aura::HandleModStealth(bool apply, bool Real) pTarget->CastCustomSpell(pTarget,31665,&bp,NULL,NULL,true); } // Overkill - else if ((*i)->GetId() == 58426 && GetSpellProto()->SpellFamilyFlags & 0x0000000000400000LL) + else if ((*i)->GetId() == 58426 && pSpellInfo->SpellFamilyFlags & 0x0000000000400000LL) { pTarget->RemoveAurasDueToSpell(58428); pTarget->CastSpell(pTarget, 58427, true); @@ -3601,7 +3602,7 @@ void Aura::HandleModStealth(bool apply, bool Real) if ((*i)->GetSpellProto()->SpellIconID == 2114) pTarget->CastSpell(pTarget,31666,true); // Overkill - else if ((*i)->GetId() == 58426 && GetSpellProto()->SpellFamilyFlags & 0x0000000000400000LL) + else if ((*i)->GetId() == 58426 && pSpellInfo->SpellFamilyFlags & 0x0000000000400000LL) pTarget->CastSpell(pTarget, 58428, true); } } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 39102cb3e..8d7bf08b7 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7769" + #define REVISION_NR "7770" #endif // __REVISION_NR_H__