*Fix a crash caused by vehicle.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-06 13:32:04 -05:00
parent b3de9cdff7
commit 5d3a64517e

View File

@@ -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)