summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-11-17 23:05:59 +0000
committerDarkvater <darkvater@openttd.org>2005-11-17 23:05:59 +0000
commita87ff2dc8836d41e45dabe510072e2c2997a4d9a (patch)
tree2a512b09dde523f28c4e7ec308adf3511fe5c343
parentcac9cfe24970690b9e46f571aa17e1970ba2dbb5 (diff)
downloadopenttd-a87ff2dc8836d41e45dabe510072e2c2997a4d9a.tar.xz
(svn r3216) - Fix (regression): endless loop introduced in revision 3190
-rw-r--r--disaster_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disaster_cmd.c b/disaster_cmd.c
index 6bf0b0d51..aea364ae1 100644
--- a/disaster_cmd.c
+++ b/disaster_cmd.c
@@ -915,7 +915,7 @@ static void Disaster7_Init(void)
TileIndexDiff step = TileOffsByDir(GB(Random(), 0, 2));
uint n;
- for (n = 0; n < 30; i++) {
+ for (n = 0; n < 30; n++) {
DisasterClearSquare(tile);
tile = TILE_MASK(tile + step);
}