diff options
Diffstat (limited to 'ext/wittle_generator/Generate.cpp')
| -rw-r--r-- | ext/wittle_generator/Generate.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/ext/wittle_generator/Generate.cpp b/ext/wittle_generator/Generate.cpp index b80b751..3d907cb 100644 --- a/ext/wittle_generator/Generate.cpp +++ b/ext/wittle_generator/Generate.cpp | |||
| @@ -485,8 +485,7 @@ bool Generate::generate_maze(int id, int numStarts, int numExits) { | |||
| 485 | }*/ | 485 | }*/ | 
| 486 | 486 | ||
| 487 | void Generate::generate(int width, int height, PuzzleSymbols symbols) { | 487 | void Generate::generate(int width, int height, PuzzleSymbols symbols) { | 
| 488 | while (!generateInternal(width, height, symbols)) | 488 | while (!generateInternal(width, height, symbols)); | 
| 489 | ; | ||
| 490 | } | 489 | } | 
| 491 | 490 | ||
| 492 | // The primary generation function. id - id of the puzzle. symbols - a structure | 491 | // The primary generation function. id - id of the puzzle. symbols - a structure | 
