mirror of https://github.com/OpenTTD/OpenTTD
Codechange: A vehicle that is not a front engine can't be removed from a vehicle group, so just remove a pointless function call.
parent
1ae7eb1594
commit
07449be876
|
@ -1325,7 +1325,6 @@ CommandCost CmdMoveRailVehicle(DoCommandFlag flags, VehicleID src_veh, VehicleID
|
|||
/* Delete orders, group stuff and the unit number as we're not the
|
||||
* front of any vehicle anymore. */
|
||||
DeleteVehicleOrders(src);
|
||||
RemoveVehicleFromGroup(src);
|
||||
src->unitnumber = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue