mirror of https://github.com/OpenTTD/OpenTTD
(svn r11134) -Fix [FS#1238]: vehicles got removed twice from the group list when selling whole trains.
parent
2ce95b9fd0
commit
a6a8502ca3
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue