Add debug console command to unblock bay road stops with incorrect occupancy state

This commit is contained in:
Jonathan G Rennison
2024-02-21 23:04:41 +00:00
parent 16d77d9268
commit ea0fa2194a
3 changed files with 44 additions and 0 deletions

View File

@@ -167,6 +167,9 @@ struct RoadStop : RoadStopPool::PoolItem<&_roadstop_pool> {
static bool IsDriveThroughRoadStopContinuation(TileIndex rs, TileIndex next);
void DebugClearOccupancy();
void DebugReEnter(const RoadVehicle *rv);
private:
Entry *east; ///< The vehicles that entered from the east
Entry *west; ///< The vehicles that entered from the west