From 568c22210611f369e11b9348a6e1145bba9c6ee7 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 12 Aug 2023 00:58:16 +0100 Subject: [PATCH] Towers: use new move_cursor() features --- towers.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/towers.c b/towers.c index 0e93c09..c26e530 100644 --- a/towers.c +++ b/towers.c @@ -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)) {