Light Up: use new move_cursor() features

This commit is contained in:
Ben Harris
2023-08-09 15:48:14 +01:00
parent e6d25d75ba
commit e30d11ecd1

View File

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