Towers: use new move_cursor() features

This commit is contained in:
Ben Harris
2023-08-12 00:58:16 +01:00
parent 0fa62ae4ff
commit 568c222106

View File

@ -1519,10 +1519,8 @@ static char *interpret_move(const game_state *state, game_ui *ui,
}
return NULL;
}
move_cursor(button, &ui->hx, &ui->hy, w, w, false, NULL);
ui->hshow = true;
ui->hcursor = true;
return MOVE_UI_UPDATE;
return move_cursor(button, &ui->hx, &ui->hy, w, w, false, &ui->hshow);
}
if (ui->hshow &&
(button == CURSOR_SELECT)) {