From df2d6d347e7e4dc0d74df708906844ed67b1b358 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Wed, 9 Aug 2023 23:52:08 +0100 Subject: Keen: use new move_cursor() features --- keen.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/keen.c b/keen.c index 2d03b6b..dc41f9e 100644 --- a/keen.c +++ b/keen.c @@ -1783,10 +1783,8 @@ static char *interpret_move(const game_state *state, game_ui *ui, } } if (IS_CURSOR_MOVE(button)) { - 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)) { -- cgit v1.1