(svn r13234) -Fix: Check/affect town rating when removing/bulldozing town-owned road under drivethrough stops.
-Fix: Reset the 'town-owned-road'-flag when removing and rebuilding road under drivethrough stops.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user