# HG changeset patch # User rubidium # Date 1185383258 0 # Node ID f642e46e7f6bb62a46172fe7d491d9001ef5ce35 # Parent 694a7dacd30ae8a8a94f4cfb9de8474178c8f82f (svn r10687) -Fix (r10686): subversion does not like it when you change code when you are typing the commit message. diff -r 694a7dacd30a -r f642e46e7f6b 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)));