changeset 2085 | ae9e92ffe168 |
parent 2049 | ad0d49c916d4 |
child 2125 | 3098398bf7ff |
--- 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());