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 | a6a8502ca3f762d7903768044b7ce965c229f5ff (patch) | |
tree | 322fd8601a275751d99b7131c12be1edec16edcf | |
parent | 2ce95b9fd06b6f4d3ce14bab8a85ef91bff718db (diff) | |
download | openttd-a6a8502ca3f762d7903768044b7ce965c229f5ff.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; } } |