Changeset - r24478:2c947508b21d
[Not reviewed]
master
0 1 0
Matt Kimber - 3 years ago 2020-12-21 22:46:38
mattkimber@users.noreply.github.com
Fix c02ef3e4: [NewGRF] Variable 0x44 was always HZB_TOWN_EDGE for road stops. (#8400)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_roadtype.cpp
Show inline comments
 
@@ -45,7 +45,7 @@
 
			const Town *t = nullptr;
 
			if (IsRoadDepotTile(this->tile)) {
 
				t = Depot::GetByTile(this->tile)->town;
 
			} else if (IsTileType(this->tile, MP_ROAD)) {
 
			} else {
 
				t = ClosestTownFromTile(this->tile, UINT_MAX);
 
			}
 
			return t != nullptr ? GetTownRadiusGroup(t, this->tile) : HZB_TOWN_EDGE;
0 comments (0 inline, 0 general)