(svn r4385) -Codechange: remove map5 from the TileInfo struct as it is now unused. This effort is starting to pay off ...
authorcelestar
Wed, 12 Apr 2006 12:58:53 +0000
changeset 3529 0e04dacbf70d
parent 3528 ca3ce10452d8
child 3530 8a3d95689ce1
(svn r4385) -Codechange: remove map5 from the TileInfo struct as it is now unused. This effort is starting to pay off ...
landscape.c
openttd.h
--- a/landscape.c	Wed Apr 12 12:50:40 2006 +0000
+++ b/landscape.c	Wed Apr 12 12:58:53 2006 +0000
@@ -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	Wed Apr 12 12:50:40 2006 +0000
+++ b/openttd.h	Wed Apr 12 12:58:53 2006 +0000
@@ -129,7 +129,6 @@
 	uint y;
 	uint tileh;
 	uint type;
-	uint map5;
 	TileIndex tile;
 	uint z;
 } TileInfo;