diff --git a/landscape.c b/landscape.c index a86a6c4636..26545958cd 100644 --- a/landscape.c +++ b/landscape.c @@ -65,14 +65,12 @@ void FindLandscapeHeight(TileInfo *ti, uint x, uint y) 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); } } diff --git a/openttd.h b/openttd.h index 1038d3bbf3..e391002d6b 100644 --- a/openttd.h +++ b/openttd.h @@ -129,7 +129,6 @@ typedef struct TileInfo { uint y; uint tileh; uint type; - uint map5; TileIndex tile; uint z; } TileInfo;