aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unfinished/group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unfinished/group.c b/unfinished/group.c
index 037547e..4c49030 100644
--- a/unfinished/group.c
+++ b/unfinished/group.c
@@ -1710,7 +1710,7 @@ static void game_redraw(drawing *dr, game_drawstate *ds, game_state *oldstate,
flashtime >= FLASH_TIME*2/3))
tile |= DF_HIGHLIGHT; /* completion flash */
- error = ds->errtmp[y*w+x];
+ error = ds->errtmp[sy*w+sx];
if (ds->tiles[y*w+x] != tile ||
ds->pencil[y*w+x] != pencil ||