From a4bf608d406442a5edab837ca100e654b616e1ff 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. --- main_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main_gui.c') diff --git a/main_gui.c b/main_gui.c index 112541b82..e2c05df3b 100644 --- a/main_gui.c +++ b/main_gui.c @@ -1209,7 +1209,7 @@ static void PlaceProc_RockyArea(TileIndex tile) if (!IsTileType(tile, MP_CLEAR) && !IsTileType(tile, MP_TREES)) return; - ModifyTile(tile, MP_SETTYPE(MP_CLEAR) | MP_MAP5, (_map5[tile] & ~0x1C) | 0xB); + ModifyTile(tile, MP_SETTYPE(MP_CLEAR) | MP_MAP5, (_m[tile].m5 & ~0x1C) | 0xB); SndPlayTileFx(SND_1F_SPLAT, tile); } -- cgit v1.2.3-54-g00ecf