From 4bd8822725794989a400768cb69f600e0a5d9734 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 12 Aug 2023 13:52:09 +0100 Subject: Unequal: use new move_cursor() features for normal movement The shift+arrow controls for dimming clues don't currently use it because they're a bit fiddly. --- unequal.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/unequal.c b/unequal.c index f778df0..c2f7311 100644 --- a/unequal.c +++ b/unequal.c @@ -1617,11 +1617,9 @@ static char *interpret_move(const game_state *state, game_ui *ui, return dupstr(buf); } else { - move_cursor(button, &ui->hx, &ui->hy, ds->order, ds->order, false, - NULL); - ui->hshow = true; ui->hcursor = true; - return MOVE_UI_UPDATE; + return move_cursor(button, &ui->hx, &ui->hy, ds->order, ds->order, + false, &ui->hshow); } } if (ui->hshow && IS_CURSOR_SELECT(button)) { -- cgit v1.1