back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/solution_algorithm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'solution_algorithm.cpp')
-rw-r--r--solution_algorithm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/solution_algorithm.cpp b/solution_algorithm.cpp
index f0b7861..d96374b 100644
--- a/solution_algorithm.cpp
+++ b/solution_algorithm.cpp
@@ -178,6 +178,7 @@ void ASearch::ShowSolution(Node *goal)
(*puzzle_pos)->position(goal->state[i].x, goal->state[i].y);
gp->win->redraw();
Fl::flush();
+ Fl::check();
usleep(40000);
}
}