From 00e76a9e690c2802f9e58bcd156272b4957cc7ff Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 25 Jul 2007 17:07:38 +0000 Subject: (svn r10687) -Fix (r10686): subversion does not like it when you change code when you are typing the commit message. --- src/tile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tile.cpp b/src/tile.cpp index 449156465..a7199c1b8 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -55,7 +55,7 @@ uint GetTileZ(TileIndex tile) 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))); -- cgit v1.2.3-70-g09d2