diff options
author | celestar <celestar@openttd.org> | 2006-04-12 12:58:53 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2006-04-12 12:58:53 +0000 |
commit | 5d949514966a75672cb0ec23f24567d262183cae (patch) | |
tree | 1cf91a71ab03001bd3d4273fc5476d05525c45fb | |
parent | bdcb4bbf1d9119c261d5304867b623c32088fb44 (diff) | |
download | openttd-5d949514966a75672cb0ec23f24567d262183cae.tar.xz |
(svn r4385) -Codechange: remove map5 from the TileInfo struct as it is now unused. This effort is starting to pay off ...
-rw-r--r-- | landscape.c | 2 | ||||
-rw-r--r-- | openttd.h | 1 |
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); } } @@ -129,7 +129,6 @@ typedef struct TileInfo { uint y; uint tileh; uint type; - uint map5; TileIndex tile; uint z; } TileInfo; |