mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 23:50:44 +01:00
Core/Vehicles: Remove redundant Vehicle::Die. All vehicle auras are already removed on Unit::RemoveAllAurasOnDeath.
Addresses ticket:869 - please reconfirm
This commit is contained in:
@@ -954,15 +954,6 @@ void ScriptMgr::OnUninstall(Vehicle* veh)
|
||||
tmpscript->OnUninstall(veh);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnDie(Vehicle* veh)
|
||||
{
|
||||
ASSERT(veh);
|
||||
ASSERT(veh->GetBase()->GetTypeId() == TYPEID_UNIT);
|
||||
|
||||
GET_SCRIPT(VehicleScript, veh->GetBase()->ToCreature()->GetScriptId(), tmpscript);
|
||||
tmpscript->OnDie(veh);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnReset(Vehicle* veh)
|
||||
{
|
||||
ASSERT(veh);
|
||||
|
||||
Reference in New Issue
Block a user