aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-06 13:32:04 -0500
committermegamage <none@none>2009-05-06 13:32:04 -0500
commit5d3a64517eff8db5781f299ece29a338b6e2f7a2 (patch)
tree53c7461b3447cf31484151b40f3242366c923b11
parentb3de9cdff7581ae8e81313ba7db466987f593fd4 (diff)
*Fix a crash caused by vehicle.
--HG-- branch : trunk
-rw-r--r--src/game/SpellAuras.cpp4
1 files changed, 2 insertions, 2 deletions
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<Vehicle*>(m_target);
+ /*Vehicle *vehicle = dynamic_cast<Vehicle*>(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)