summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-04 07:52:12 +0000
committertron <tron@openttd.org>2005-02-04 07:52:12 +0000
commit88ebe22d8b6e844b501688673f71db3505ea2b57 (patch)
tree2c67023ecf632681f6d2f0f7891ad5c9008df7c4
parenta5ffbbee2d319847a526d2009934c9aba6dedce3 (diff)
downloadopenttd-88ebe22d8b6e844b501688673f71db3505ea2b57.tar.xz
(svn r1782) Remove line which should've been removed in r1779 and caused map generation to hang infinitely
-rw-r--r--landscape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/landscape.c b/landscape.c
index e1e0e4cc4..bdf596d70 100644
--- a/landscape.c
+++ b/landscape.c
@@ -619,7 +619,7 @@ static void GenerateTerrain(int type, int flag)
if (*p >= *tile_cur) *tile_cur = *p;
p++;
tile_cur -= TILE_XY(0, 1);
- } while (--h_cur != 0);
+ }
tile++;
} while (--w != 0);
break;