Clear order backup clone when train head is moved to non-head position

This commit is contained in:
Jonathan G Rennison
2019-08-20 19:26:19 +01:00
parent 5155afee9b
commit 0299eaa45f

View File

@@ -1550,6 +1550,7 @@ CommandCost CmdMoveRailVehicle(TileIndex tile, DoCommandFlag flags, uint32 p1, u
TraceRestrictRemoveVehicleFromAllSlots(src->index);
ClrBit(src->flags, VRF_HAVE_SLOT);
}
OrderBackup::ClearVehicle(src);
}
/* We weren't a front engine but are becoming one. So