From 8c1d74162f1544e351ae6308cbcca06f324c2c36 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 13 Jul 2005 18:04:01 +0000 Subject: (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. --- road_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'road_gui.c') 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); } } -- cgit v1.2.3-54-g00ecf