mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-23 14:39:08 +00:00
(svn r11134) -Fix [FS#1238]: vehicles got removed twice from the group list when selling whole trains.
This commit is contained in:
@@ -1377,7 +1377,6 @@ CommandCost CmdSellRailWagon(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
|
||||
if (flags & DC_EXEC) {
|
||||
first = UnlinkWagon(v, first);
|
||||
DeleteDepotHighlightOfVehicle(v);
|
||||
RemoveVehicleFromGroup(v);
|
||||
delete v;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user