From 7a1e7c4f73db8374aadfdd9a397a52549e09e90a Mon Sep 17 00:00:00 2001 From: QAston Date: Sun, 15 Mar 2009 18:02:10 +0100 Subject: *Prevent possible crash. *Remove obsolete Judgement of Righteousness coefficient-by cccyril --HG-- branch : trunk --- src/game/Unit.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 6ac2b5cc865..3901c5b44fb 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -6099,6 +6099,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu case 20186: { pVictim->CastSpell(pVictim, 20268, true, NULL, triggeredByAura); + return true; } // Holy Power (Redemption Armor set) case 28789: @@ -13423,6 +13424,8 @@ void Unit::SendAuraUpdate(uint8 slot) { if (Unit * caster = ptr->GetCaster()) data.append(caster->GetPackGUID()); + else + data << uint8(0); } if(entry->m_Flags & AFLAG_DURATION) -- cgit v1.2.3