ref: bd5606ae74aa6b070d980230c56fe337a47bc4a7
parent: 643f468255f9f9fd16767f5f420c5db32e931b3b
author: Simon Tatham <anakin@pobox.com>
date: Thu Sep 1 08:17:14 EDT 2005
Optimiser placation. [originally from svn r6257]
--- a/lightup.c
+++ b/lightup.c
@@ -2306,6 +2306,7 @@
/* Run the solvers easiest to hardest until we find one that
* can solve our puzzle. If it's soluble we know that the
* hardest (recursive) solver will always find the solution. */
+ nsol = sflags = 0;
for (diff = 0; diff <= DIFFCOUNT; diff++) {
printf("\nSolving with difficulty %d.\n", diff);
sflags = flags_from_difficulty(diff);