Fix error highlighting after table rearrangement.

[originally from svn r9076]
This commit is contained in:
Simon Tatham
2011-01-09 11:30:09 +00:00
parent 48f6bfa474
commit 540716194d

View File

@ -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 ||