water_cmd.c
changeset 1041 be151b7bc909
parent 1035 0a170deb6e33
child 1048 edfc783f241d
--- a/water_cmd.c	Sun Jan 16 13:59:07 2005 +0000
+++ b/water_cmd.c	Sun Jan 16 14:06:22 2005 +0000
@@ -459,7 +459,7 @@
 
 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;