summaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-16 14:06:22 +0000
committertron <tron@openttd.org>2005-01-16 14:06:22 +0000
commitef923fae44f785ef0446174de3eb78dbbf333019 (patch)
tree672638fb04fd17fbc001dde38aff57143c889325 /map.h
parentb119b6c474268d0bad926fb10f0ac7f2857f5a09 (diff)
downloadopenttd-ef923fae44f785ef0446174de3eb78dbbf333019.tar.xz
(svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns
Diffstat (limited to 'map.h')
-rw-r--r--map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/map.h b/map.h
index bed014bfa..a2d37e755 100644
--- a/map.h
+++ b/map.h
@@ -73,7 +73,7 @@ static inline TileIndexDiff TileOffsByDir(uint dir)
}
-static inline uint TileHeight(TileIndex tile)
+static inline uint TilePixelHeight(TileIndex tile)
{
assert(tile < MapSize());
return (_map_type_and_height[tile] & 0xf) * 8;