~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch from Lambros to make the Normal difficulty level easier, since
[sgt/puzzles]
/
lightup.c
diff --git
a/lightup.c
b/lightup.c
index
d9fa079
..
ceda07f
100644
(file)
--- a/
lightup.c
+++ b/
lightup.c
@@
-1016,9
+1016,9
@@
static void try_rule_out(game_state *state, int x, int y,
get_surrounds(state, x, y, &s);
for (i = 0; i < s.npoints; i++) {
get_surrounds(state, x, y, &s);
for (i = 0; i < s.npoints; i++) {
- if (!
GRID(state,flags,s.points[i].x,s.points[i].y) & F_NUMBERED
)
+ if (!
(GRID(state,flags,s.points[i].x,s.points[i].y) & F_NUMBERED)
)
continue;
continue;
- /* we have an adjacent clue square; find /it
'
s/ surrounds
+ /* we have an adjacent clue square; find /its/ surrounds
* and count the remaining lights it needs. */
get_surrounds(state,s.points[i].x,s.points[i].y,&ss);
curr_lights = 0;
* and count the remaining lights it needs. */
get_surrounds(state,s.points[i].x,s.points[i].y,&ss);
curr_lights = 0;