mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-22 00:15:46 -07:00
Fix a UI glitch where dragging an existing arrow could change what it
referred to. [originally from svn r7331]
This commit is contained in:
@ -2245,8 +2245,8 @@ static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
|
|||||||
* Found a dot. Begin a drag from it.
|
* Found a dot. Begin a drag from it.
|
||||||
*/
|
*/
|
||||||
dot = &SPACE(state, px1, py1);
|
dot = &SPACE(state, px1, py1);
|
||||||
ui->srcx = px;
|
ui->srcx = px1;
|
||||||
ui->srcy = py;
|
ui->srcy = py1;
|
||||||
goto done; /* multi-level break */
|
goto done; /* multi-level break */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user