1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-03 22:59:30 +00:00

(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:
rubidium
2007-07-25 17:07:38 +00:00
parent 8131ce7e21
commit 669f879632

View File

@@ -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)));