Clear order backup clone when train head is moved to non-head position
This commit is contained in:
@@ -1550,6 +1550,7 @@ CommandCost CmdMoveRailVehicle(TileIndex tile, DoCommandFlag flags, uint32 p1, u
|
|||||||
TraceRestrictRemoveVehicleFromAllSlots(src->index);
|
TraceRestrictRemoveVehicleFromAllSlots(src->index);
|
||||||
ClrBit(src->flags, VRF_HAVE_SLOT);
|
ClrBit(src->flags, VRF_HAVE_SLOT);
|
||||||
}
|
}
|
||||||
|
OrderBackup::ClearVehicle(src);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We weren't a front engine but are becoming one. So
|
/* We weren't a front engine but are becoming one. So
|
||||||
|
Reference in New Issue
Block a user