summaryrefslogtreecommitdiff
path: root/landscape.c
diff options
context:
space:
mode:
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;