(svn r10687) -Fix (r10686): subversion does not like it when you change code when you are typing the commit message.
authorrubidium
Wed, 25 Jul 2007 17:07:38 +0000
changeset 7820 f642e46e7f6b
parent 7819 694a7dacd30a
child 7821 5388aa2cd1d2
(svn r10687) -Fix (r10686): subversion does not like it when you change code when you are typing the commit message.
src/tile.cpp
--- a/src/tile.cpp	Wed Jul 25 15:45:46 2007 +0000
+++ b/src/tile.cpp	Wed Jul 25 17:07:38 2007 +0000
@@ -55,7 +55,7 @@
 
 uint GetTileMaxZ(TileIndex t)
 {
-	if (TileX(tile) == MapMaxX() || TileY(tile) == MapMaxY()) return 0;
+	if (TileX(t) == MapMaxX() || TileY(t) == MapMaxY()) return 0;
 
 	uint h = TileHeight(t);
 	h = max(h, TileHeight(t + TileDiffXY(1, 0)));