From 5d3a64517eff8db5781f299ece29a338b6e2f7a2 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 6 May 2009 13:32:04 -0500 Subject: *Fix a crash caused by vehicle. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 40652d48a3d..049972f9ba0 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -6752,7 +6752,7 @@ void AuraEffect::HandleAuraControlVehicle(bool apply, bool Real) if(!caster) return; - Vehicle *vehicle = dynamic_cast(m_target); + /*Vehicle *vehicle = dynamic_cast(m_target); if (apply) { @@ -6769,7 +6769,7 @@ void AuraEffect::HandleAuraControlVehicle(bool apply, bool Real) caster->RemoveAurasDueToSpell(spell->Id); caster->ExitVehicle(); - } + }*/ } void AuraEffect::HandleAuraConvertRune(bool apply, bool Real) -- cgit v1.2.3