mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
*Fix a crash caused by vehicle.
--HG-- branch : trunk
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user