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 | 00e76a9e690c2802f9e58bcd156272b4957cc7ff (patch) | |
tree | 0b124eebea7eb0a77f32b1b9bb22d5b9993dc2cd /src | |
parent | e70f91a4bfb89024d754ddf436f6a5579216463e (diff) | |
download | openttd-00e76a9e690c2802f9e58bcd156272b4957cc7ff.tar.xz |
(svn r10687) -Fix (r10686): subversion does not like it when you change code when you are typing the commit message.
Diffstat (limited to 'src')
-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))); |