From 9c0344b6d07d883967e4535e5c4130872ea69b37 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Mon, 27 Apr 2009 00:30:45 +0400 Subject: [PATCH] [7721] Fixed possible source crash at rogue stealth lost in some special cases. --- src/game/SpellAuras.cpp | 4 ++-- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 836547b88..5d83a255b 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3535,7 +3535,7 @@ void Aura::HandleModStealth(bool apply, bool Real) else if ((*i)->GetId() == 58426 && GetSpellProto()->SpellFamilyFlags & 0x0000000000400000LL) { pTarget->RemoveAurasDueToSpell(58428); - pTarget->CastSpell(m_target, 58427, true); + pTarget->CastSpell(pTarget, 58427, true); } } } @@ -3573,7 +3573,7 @@ void Aura::HandleModStealth(bool apply, bool Real) pTarget->CastSpell(pTarget,31666,true); // Overkill else if ((*i)->GetId() == 58426 && GetSpellProto()->SpellFamilyFlags & 0x0000000000400000LL) - pTarget->CastSpell(m_target, 58428, true); + pTarget->CastSpell(pTarget, 58428, true); } } } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index ea879a1a2..bd97771b3 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 "7720" + #define REVISION_NR "7721" #endif // __REVISION_NR_H__ -- 2.11.4.GIT