changeset 1035 | 0a170deb6e33 |
parent 987 | ea47ad079de8 |
child 1072 | 01bf9fc64236 |
--- a/road_gui.c Sun Jan 16 11:18:17 2005 +0000 +++ b/road_gui.c Sun Jan 16 11:24:58 2005 +0000 @@ -67,7 +67,7 @@ static const byte _roadbits_by_dir[4] = {2,1,8,4}; tile += TileOffsByDir(direction); // if there is a roadpiece just outside of the station entrance, build a connecting route - if (IS_TILETYPE(tile, MP_STREET) && !(_map5[tile]&0x20)) { + if (IsTileType(tile, MP_STREET) && !(_map5[tile] & 0x20)) { DoCommandP(tile, _roadbits_by_dir[direction], 0, NULL, CMD_BUILD_ROAD); } }