diff options
author | QAston <none@none> | 2009-03-15 18:02:10 +0100 |
---|---|---|
committer | QAston <none@none> | 2009-03-15 18:02:10 +0100 |
commit | 7a1e7c4f73db8374aadfdd9a397a52549e09e90a (patch) | |
tree | 4ceb605871d629a9f9d24443520ee4b91d30e50f /src/game/Unit.cpp | |
parent | f9b14c221bef52313ed9f8ec1802af507b770a69 (diff) |
*Prevent possible crash.
*Remove obsolete Judgement of Righteousness coefficient-by cccyril
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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) |