mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Light Up: use new move_cursor() features
This commit is contained in:
@ -1975,10 +1975,8 @@ static char *interpret_move(const game_state *state, game_ui *ui,
|
|||||||
}
|
}
|
||||||
ui->cur_visible = true;
|
ui->cur_visible = true;
|
||||||
} else if (IS_CURSOR_MOVE(button)) {
|
} else if (IS_CURSOR_MOVE(button)) {
|
||||||
move_cursor(button, &ui->cur_x, &ui->cur_y, state->w, state->h, false,
|
nullret = move_cursor(button, &ui->cur_x, &ui->cur_y,
|
||||||
NULL);
|
state->w, state->h, false, &ui->cur_visible);
|
||||||
ui->cur_visible = true;
|
|
||||||
nullret = empty;
|
|
||||||
} else
|
} else
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user