mirror of https://github.com/OpenTTD/OpenTTD
(svn r3216) - Fix (regression): endless loop introduced in revision 3190
parent
cac9cfe249
commit
a87ff2dc88
|
@ -915,7 +915,7 @@ static void Disaster7_Init(void)
|
||||||
TileIndexDiff step = TileOffsByDir(GB(Random(), 0, 2));
|
TileIndexDiff step = TileOffsByDir(GB(Random(), 0, 2));
|
||||||
uint n;
|
uint n;
|
||||||
|
|
||||||
for (n = 0; n < 30; i++) {
|
for (n = 0; n < 30; n++) {
|
||||||
DisasterClearSquare(tile);
|
DisasterClearSquare(tile);
|
||||||
tile = TILE_MASK(tile + step);
|
tile = TILE_MASK(tile + step);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue