diff options
author | tron <tron@openttd.org> | 2005-07-13 18:04:01 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-13 18:04:01 +0000 |
commit | 8c1d74162f1544e351ae6308cbcca06f324c2c36 (patch) | |
tree | b36523450a7bccf37ca126b6f857d1529d44c67b /road_gui.c | |
parent | 1a1dde7c8d0cf18e49b5af7fef1368216120eed1 (diff) | |
download | openttd-8c1d74162f1544e351ae6308cbcca06f324c2c36.tar.xz |
(svn r2558) Change the internal map format from 7 arrays to one array of structs, this doesn't change the saved format for now. It's a stepping stone for further changes.
Diffstat (limited to 'road_gui.c')
-rw-r--r-- | road_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/road_gui.c b/road_gui.c index 439d86a7f..ed48966a5 100644 --- a/road_gui.c +++ b/road_gui.c @@ -69,7 +69,7 @@ static void BuildRoadOutsideStation(TileIndex tile, int direction) 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 (IsTileType(tile, MP_STREET) && !(_map5[tile] & 0x20)) { + if (IsTileType(tile, MP_STREET) && !(_m[tile].m5 & 0x20)) { DoCommandP(tile, _roadbits_by_dir[direction], 0, NULL, CMD_BUILD_ROAD); } } |