mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-31 02:19:09 +00:00
Codechange: A vehicle that is not a front engine can't be removed from a vehicle group, so just remove a pointless function call.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user