Maze magic: Increase iteration limit
h/t Pere
This commit is contained in:
parent
254fe65b20
commit
89b6df98a4
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Allows painting generated maze puzzles on your picture.
|
Allows painting generated maze puzzles on your picture.
|
||||||
|
|
||||||
Last updated: January 28, 2023
|
Last updated: February 5, 2023
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
@ -327,7 +327,7 @@ void maze_render(magic_api * api, SDL_Surface * canvas)
|
||||||
}
|
}
|
||||||
iter++;
|
iter++;
|
||||||
}
|
}
|
||||||
while (state != STATE_DONE && iter < 10000);
|
while (state != STATE_DONE && iter < 100000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue