Core/Vehicles: Fix a crash in object update packet builder (need to remove UPDATEFLAG_VEHICLE on Unit::RemoveFromWorld)
This commit is contained in:
@@ -13682,11 +13682,7 @@ void Unit::RemoveFromWorld()
|
||||
{
|
||||
m_duringRemoveFromWorld = true;
|
||||
if (IsVehicle())
|
||||
{
|
||||
GetVehicleKit()->Uninstall();
|
||||
delete m_vehicleKit;
|
||||
m_vehicleKit = NULL;
|
||||
}
|
||||
RemoveVehicleKit();
|
||||
|
||||
RemoveCharmAuras();
|
||||
RemoveBindSightAuras();
|
||||
|
||||
Reference in New Issue
Block a user