changeset 3071 | 6f3417a859d4 |
parent 3070 | 980529af506f |
child 3091 | ea4f5ae735d2 |
--- a/road_cmd.c Thu Feb 23 11:53:48 2006 +0000 +++ b/road_cmd.c Thu Feb 23 12:24:19 2006 +0000 @@ -1112,7 +1112,7 @@ 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;