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. --- rail_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rail_gui.c') diff --git a/rail_gui.c b/rail_gui.c index 708f180f2..ce770de7d 100644 --- a/rail_gui.c +++ b/rail_gui.c @@ -79,7 +79,7 @@ static void PlaceRail_AutoRail(TileIndex tile) static void PlaceExtraDepotRail(TileIndex tile, uint16 extra) { - byte b = _map5[tile]; + byte b = _m[tile].m5; if (b & 0xC0 || !(b & (extra >> 8))) return; -- cgit v1.2.3-54-g00ecf