1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-25 23:49:09 +00:00

Fix #10975: Clear a non-head engine's name (#10976)

This commit is contained in:
merni-ns
2023-06-09 20:39:36 +05:30
committed by Patric Stout
parent ab0924f14e
commit ed9895dbb5

View File

@@ -1320,6 +1320,7 @@ CommandCost CmdMoveRailVehicle(DoCommandFlag flags, VehicleID src_veh, VehicleID
DeleteVehicleOrders(src);
RemoveVehicleFromGroup(src);
src->unitnumber = 0;
src->name.clear();
}
/* We weren't a front engine but are becoming one. So