Allow drive-through road stops to be one-way

This commit is contained in:
Jonathan G Rennison
2020-10-24 20:39:15 +01:00
parent 3fa92f5d8e
commit 3a75f13874
16 changed files with 333 additions and 50 deletions

View File

@@ -3787,6 +3787,14 @@ bool AfterLoadGame()
}
}
if (SlXvIsFeatureMissing(XSLFI_ONE_WAY_DT_ROAD_STOP)) {
for (TileIndex t = 0; t < map_size; t++) {
if (IsDriveThroughStopTile(t)) {
SetDriveThroughStopDisallowedRoadDirections(t, DRD_NONE);
}
}
}
InitializeRoadGUI();
/* This needs to be done after conversion. */