diff -r bb3bb8584190 -r b37843173279 algorithm.c --- a/algorithm.c Sun May 07 13:33:25 2006 +0200 +++ b/algorithm.c Sun May 07 13:34:25 2006 +0200 @@ -453,6 +453,8 @@ if (m->NumPlatforms == m->NumBoxesInPlatform) { PrintMove(movements[i]); + actual_map = &maps[depth+1]; + show_percent_and_map(); return 0; } @@ -470,7 +472,7 @@ depth_to_show = depth; actual_map = &maps[depth]; #ifdef DEBUG /* to be out */ - show_percent_callback(0); + show_percent_and_map(); #endif } @@ -483,6 +485,8 @@ total_percent + next_percent*i) == 0) { PrintMove(movements[i]); + actual_map = &maps[depth+1]; + show_percent_and_map(); return 0; } }