From eff48a42d1af91bda4d534cfdf61e3fd1b0eb9a5 Mon Sep 17 00:00:00 2001 From: Kaelima Date: Sun, 18 Mar 2012 19:57:03 +0100 Subject: Core/Spell: Fix crash for Glyph of Divinity --- src/server/game/Entities/Unit/Unit.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 151f7491567..1246bbc0bcb 100755 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -7991,10 +7991,10 @@ bool Unit::HandleAuraProc(Unit* victim, uint32 damage, Aura* triggeredByAura, Sp { *handled = true; // Check if we are the target and prevent mana gain - if (triggeredByAura->GetCasterGUID() == victim->GetGUID()) + if (victim && triggeredByAura->GetCasterGUID() == victim->GetGUID()) return false; // Lookup base amount mana restore - for (uint8 i = 0; iEffects[i].Effect == SPELL_EFFECT_ENERGIZE) { @@ -17018,7 +17018,7 @@ void Unit::ExitVehicle(Position const* /*exitPosition*/) //! to specify exit coordinates and either store those per passenger, or we need to //! init spline movement based on those coordinates in unapply handlers, and //! relocate exiting passengers based on Unit::moveSpline data. Either way, - //! Coming Soon™ + //! Coming Soon� } void Unit::_ExitVehicle(Position const* exitPosition) -- cgit v1.2.3