diff options
author | rubidium <rubidium@openttd.org> | 2007-07-25 17:07:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-25 17:07:38 +0000 |
commit | 669f879632c99dcd935343fd09fcfd2ebfef5301 (patch) | |
tree | 0b124eebea7eb0a77f32b1b9bb22d5b9993dc2cd | |
parent | 8131ce7e21b93234d43e3c0c90319d44935a5b5a (diff) | |
download | openttd-669f879632c99dcd935343fd09fcfd2ebfef5301.tar.xz |
(svn r10687) -Fix (r10686): subversion does not like it when you change code when you are typing the commit message.
-rw-r--r-- | src/tile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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))); |