summaryrefslogtreecommitdiff
path: root/landscape.c
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
commit3153924ad16812a61abb920247576a4053912b16 (patch)
tree2c67023ecf632681f6d2f0f7891ad5c9008df7c4 /landscape.c
parent92dfd1f02cd62f77141c037f4b80440e4a6e2167 (diff)
downloadopenttd-3153924ad16812a61abb920247576a4053912b16.tar.xz
(svn r1782) Remove line which should've been removed in r1779 and caused map generation to hang infinitely
Diffstat (limited to 'landscape.c')
-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;