mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Fix error highlighting after table rearrangement.
[originally from svn r9076]
This commit is contained in:
@ -1710,7 +1710,7 @@ static void game_redraw(drawing *dr, game_drawstate *ds, game_state *oldstate,
|
|||||||
flashtime >= FLASH_TIME*2/3))
|
flashtime >= FLASH_TIME*2/3))
|
||||||
tile |= DF_HIGHLIGHT; /* completion flash */
|
tile |= DF_HIGHLIGHT; /* completion flash */
|
||||||
|
|
||||||
error = ds->errtmp[y*w+x];
|
error = ds->errtmp[sy*w+sx];
|
||||||
|
|
||||||
if (ds->tiles[y*w+x] != tile ||
|
if (ds->tiles[y*w+x] != tile ||
|
||||||
ds->pencil[y*w+x] != pencil ||
|
ds->pencil[y*w+x] != pencil ||
|
||||||
|
Reference in New Issue
Block a user