author | frosch |
Sat, 23 Aug 2008 23:15:04 +0000 | |
changeset 9991 | 28905686e09b |
parent 9990 | 1e5841814b46 |
child 9992 | 5e68b6f327fb |
src/train_cmd.cpp | file | annotate | diff | comparison | revisions |
--- a/src/train_cmd.cpp Sat Aug 23 22:31:36 2008 +0000 +++ b/src/train_cmd.cpp Sat Aug 23 23:15:04 2008 +0000 @@ -1433,7 +1433,7 @@ first->group_id = DEFAULT_GROUP; new_f->AddToShared(first); - first->RemoveFromShared(); + DeleteVehicleOrders(first); /* If we deleted a window then open a new one for the 'new' train */ if (IsLocalPlayer() && w != NULL) ShowVehicleViewWindow(new_f);