summaryrefslogtreecommitdiff
path: root/landscape.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-04-12 12:58:53 +0000
committercelestar <celestar@openttd.org>2006-04-12 12:58:53 +0000
commit5d949514966a75672cb0ec23f24567d262183cae (patch)
tree1cf91a71ab03001bd3d4273fc5476d05525c45fb /landscape.c
parentbdcb4bbf1d9119c261d5304867b623c32088fb44 (diff)
downloadopenttd-5d949514966a75672cb0ec23f24567d262183cae.tar.xz
(svn r4385) -Codechange: remove map5 from the TileInfo struct as it is now unused. This effort is starting to pay off ...
Diffstat (limited to 'landscape.c')
-rw-r--r--landscape.c2
1 files changed, 0 insertions, 2 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);
}
}