summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--landscape.c2
-rw-r--r--openttd.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/landscape.c b/landscape.c
index a86a6c463..26545958c 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 1038d3bbf..e391002d6 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;