diff options
author | rubidium <rubidium@openttd.org> | 2007-09-21 17:56:55 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-21 17:56:55 +0000 |
commit | 26310769dd7f8be13369b975209a2d86619e3e59 (patch) | |
tree | 322fd8601a275751d99b7131c12be1edec16edcf | |
parent | 80772e9b3582d78c85fefbce770f1dda4f28a9cc (diff) | |
download | openttd-26310769dd7f8be13369b975209a2d86619e3e59.tar.xz |
(svn r11134) -Fix [FS#1238]: vehicles got removed twice from the group list when selling whole trains.
-rw-r--r-- | src/train_cmd.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index f142389f7..8c16ab960 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -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; } } |