changeset 3529:1f30f60f6a67 draft

(svn r4385) -Codechange: remove map5 from the TileInfo struct as it is now unused. This effort is starting to pay off ...
author celestar <celestar@openttd.org>
date Wed, 12 Apr 2006 12:58:53 +0000
parents b55a94c93b99
children 9df1570ef580
files landscape.c openttd.h
diffstat 2 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/landscape.c
+++ b/landscape.c
@@ -65,14 +65,12 @@
 		ti->tileh = 0;
 		ti->type = MP_VOID;
 		ti->tile = 0;
-		ti->map5 = 0;
 		ti->z = 0;
 	} else {
 		TileIndex tile = TileVirtXY(x, y);
 
 		ti->tile = tile;
 		ti->type = GetTileType(tile);
-		ti->map5 = _m[tile].m5;
 		ti->tileh = GetTileSlope(tile, &ti->z);
 	}
 }
--- a/openttd.h
+++ b/openttd.h
@@ -129,7 +129,6 @@
 	uint y;
 	uint tileh;
 	uint type;
-	uint map5;
 	TileIndex tile;
 	uint z;
 } TileInfo;