summaryrefslogtreecommitdiff
path: root/water_cmd.c
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 /water_cmd.c
parentb119b6c474268d0bad926fb10f0ac7f2857f5a09 (diff)
downloadopenttd-ef923fae44f785ef0446174de3eb78dbbf333019.tar.xz
(svn r1542) Rename TileHeight to TilePixelHeight, because this is what it actually returns
Diffstat (limited to 'water_cmd.c')
-rw-r--r--water_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/water_cmd.c b/water_cmd.c
index 2a7e75e6d..e11cc50b9 100644
--- a/water_cmd.c
+++ b/water_cmd.c
@@ -459,7 +459,7 @@ static void GetAcceptedCargo_Water(uint tile, AcceptedCargo ac)
static void GetTileDesc_Water(uint tile, TileDesc *td)
{
- if (_map5[tile] == 0 && TileHeight(tile) == 0)
+ if (_map5[tile] == 0 && TilePixelHeight(tile) == 0)
td->str = STR_3804_WATER;
else if (_map5[tile] == 0)
td->str = STR_LANDINFO_CANAL;