mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-06 17:08:23 +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:
@@ -584,9 +584,6 @@ class VehicleScript : public ScriptObject
|
||||
// Called after a vehicle is uninstalled.
|
||||
virtual void OnUninstall(Vehicle* /*veh*/) { }
|
||||
|
||||
// Called after a vehicle dies.
|
||||
virtual void OnDie(Vehicle* /*veh*/) { }
|
||||
|
||||
// Called when a vehicle resets.
|
||||
virtual void OnReset(Vehicle* /*veh*/) { }
|
||||
|
||||
@@ -898,7 +895,6 @@ class ScriptMgr
|
||||
|
||||
void OnInstall(Vehicle* veh);
|
||||
void OnUninstall(Vehicle* veh);
|
||||
void OnDie(Vehicle* veh);
|
||||
void OnReset(Vehicle* veh);
|
||||
void OnInstallAccessory(Vehicle* veh, Creature* accessory);
|
||||
void OnAddPassenger(Vehicle* veh, Unit* passenger, int8 seatId);
|
||||
|
||||
Reference in New Issue
Block a user