*Fix a crash caused by vehicle.
--HG-- branch : trunk
This commit is contained in:
1 parent
b3de9cdff7
commit
5d3a64517e
1 file changed
+2
-2
@@ -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