(svn r11134) -Fix [FS#1238]: vehicles got removed twice from the group list when selling whole trains.
authorrubidium
Fri, 21 Sep 2007 17:56:55 +0000
changeset 8103 98ef3fd99803
parent 8102 5a299e72a426
child 8104 a792a30af2c8
(svn r11134) -Fix [FS#1238]: vehicles got removed twice from the group list when selling whole trains.
src/train_cmd.cpp
--- a/src/train_cmd.cpp	Thu Sep 20 19:21:01 2007 +0000
+++ b/src/train_cmd.cpp	Fri Sep 21 17:56:55 2007 +0000
@@ -1377,7 +1377,6 @@
 				if (flags & DC_EXEC) {
 					first = UnlinkWagon(v, first);
 					DeleteDepotHighlightOfVehicle(v);
-					RemoveVehicleFromGroup(v);
 					delete v;
 				}
 			}