diff options
-rw-r--r-- | src/roadveh_cmd.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index 63d02107d..e8f06c5c0 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -283,7 +283,6 @@ int32 CmdSellRoadVeh(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) RebuildVehicleLists(); InvalidateWindow(WC_COMPANY, v->owner); DeleteWindowById(WC_VEHICLE_VIEW, v->index); - ClearSlot(v); DeleteDepotHighlightOfVehicle(v); DeleteVehicle(v); if (IsLocalPlayer()) InvalidateWindow(WC_REPLACE_VEHICLE, VEH_Road); @@ -512,7 +511,6 @@ static void RoadVehDelete(Vehicle *v) BeginVehicleMove(v); EndVehicleMove(v); - ClearSlot(v); DeleteVehicle(v); } |