mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Galaxies: fix edge coordinates in a diagnostic.
The coordinates in this 'Setting edge' message from the solver don't match the coordinates of the edge that is actually set. No wonder the solver output was confusing!
This commit is contained in:
@ -1857,7 +1857,7 @@ static int solver_lines_opposite_cb(game_state *state, space *edge, void *ctx)
|
||||
if (!(edge_opp->flags & F_EDGE_SET)) {
|
||||
solvep(("%*sSetting edge %d,%d as opposite %d,%d\n",
|
||||
solver_recurse_depth*4, "",
|
||||
tile_opp->x-dx, tile_opp->y-dy, edge->x, edge->y));
|
||||
tile_opp->x+dx, tile_opp->y+dy, edge->x, edge->y));
|
||||
edge_opp->flags |= F_EDGE_SET;
|
||||
didsth = 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user