(svn r4385) -Codechange: remove map5 from the TileInfo struct as it is now unused. This effort is starting to pay off ...

This commit is contained in:
celestar 2006-04-12 12:58:53 +00:00
parent bdcb4bbf1d
commit 5d94951496
2 changed files with 0 additions and 3 deletions

View File

@ -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);
}
}

View File

@ -129,7 +129,6 @@ typedef struct TileInfo {
uint y;
uint tileh;
uint type;
uint map5;
TileIndex tile;
uint z;
} TileInfo;