mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r10687) -Fix (r10686): subversion does not like it when you change code when you are typing the commit message.
This commit is contained in:
parent
8131ce7e21
commit
669f879632
|
@ -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)));
|
||||
|
|
Loading…
Reference in New Issue