ref: 8c5077ee8805e81548b42f093a00f41afdcd4d54
parent: 4f579ddab55d7c49c3d7413e4da690e6609bfe25
author: Simon Tatham <anakin@pobox.com>
date: Fri Mar 10 13:01:17 EST 2023
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!
--- a/galaxies.c
+++ b/galaxies.c
@@ -1857,7 +1857,7 @@
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;
}