diff options
Diffstat (limited to 'src/station_map.h')
-rw-r--r-- | src/station_map.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/station_map.h b/src/station_map.h index ad7e05078..0ec6797dc 100644 --- a/src/station_map.h +++ b/src/station_map.h @@ -134,6 +134,12 @@ static inline bool GetStopBuiltOnTownRoad(TileIndex t) return HasBit(_m[t].m6, 2); } +static inline void SetStopBuiltOnTownRoad(TileIndex t, bool on_town_road) +{ + assert(IsDriveThroughStopTile(t)); + SB(_m[t].m6, 2, 1, on_town_road); +} + /** * Gets the direction the road stop entrance points towards. |