diff options
Diffstat (limited to 'road_cmd.c')
-rw-r--r-- | road_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/road_cmd.c b/road_cmd.c index 82c5116be..320c71b9a 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -1112,7 +1112,7 @@ static uint32 GetTileTrackStatus_Road(TileIndex tile, TransportType mode) return _m[tile].m5 & 8 ? 0x101 : 0x202; case TRANSPORT_ROAD: - switch (GB(_m[tile].m5, 4, 4)) { + switch (GetRoadType(tile)) { case ROAD_NORMAL: return !_road_special_gettrackstatus && GB(_m[tile].m4, 4, 3) >= 6 ? 0 : _road_trackbits[GetRoadBits(tile)] * 0x101; |