Add road stop flag to not show one-way road overlays

This commit is contained in:
Jonathan G Rennison
2022-02-25 12:42:32 +00:00
parent 2ce5a93527
commit e24d7c88bc
4 changed files with 6 additions and 2 deletions

View File

@@ -3546,7 +3546,7 @@ draw_default_foundation:
}
DisallowedRoadDirections drd = GetDriveThroughStopDisallowedRoadDirections(ti->tile);
if (drd != DRD_NONE) {
if (drd != DRD_NONE && (stopspec == nullptr || !HasBit(stopspec->flags, RSF_NO_ONE_WAY_OVERLAY))) {
DrawGroundSpriteAt(SPR_ONEWAY_BASE + drd - 1 + ((axis == AXIS_X) ? 0 : 3), PAL_NONE, 8, 8, 0);
}
} else {