diff options
author | tron <tron@openttd.org> | 2006-02-23 12:24:19 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-02-23 12:24:19 +0000 |
commit | 6a74cb27870168271f6b249badcefbeb1da3af8c (patch) | |
tree | f5ac06f102968f6cf3cbe40e0fca7d7a55514d1b /road_cmd.c | |
parent | c3c0afb902e5790a1b6c141d340e52d98f11316b (diff) | |
download | openttd-6a74cb27870168271f6b249badcefbeb1da3af8c.tar.xz |
(svn r3660) Convert further road bits and type references to the functions/enums
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; |