changeset 2085 | 876f20a0e843 |
parent 2049 | 538e73c53f54 |
child 2125 | edc17858f9f6 |
--- a/tile.h Sat Jul 16 20:58:04 2005 +0000 +++ b/tile.h Sat Jul 16 23:47:37 2005 +0000 @@ -61,6 +61,11 @@ return GB(_m[tile].type_height, 0, 4); } +static inline bool IsSteepTileh(uint tileh) +{ + return (tileh & 0x10); +} + static inline void SetTileHeight(TileIndex tile, uint height) { assert(tile < MapSize());