mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
Solo: use new move_cursor() features
This commit is contained in:
5
solo.c
5
solo.c
@ -4696,10 +4696,9 @@ static char *interpret_move(const game_state *state, game_ui *ui,
|
||||
}
|
||||
}
|
||||
if (IS_CURSOR_MOVE(button)) {
|
||||
move_cursor(button, &ui->hx, &ui->hy, cr, cr, false, NULL);
|
||||
ui->hshow = true;
|
||||
ui->hcursor = true;
|
||||
return MOVE_UI_UPDATE;
|
||||
return move_cursor(button, &ui->hx, &ui->hy, cr, cr, false,
|
||||
&ui->hshow);
|
||||
}
|
||||
if (ui->hshow &&
|
||||
(button == CURSOR_SELECT)) {
|
||||
|
Reference in New Issue
Block a user