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.
This commit is contained in:
Ben Harris
2023-08-12 13:52:09 +01:00
parent f8c2477ccb
commit 4bd8822725

View File

@ -1617,11 +1617,9 @@ static char *interpret_move(const game_state *state, game_ui *ui,
return dupstr(buf); return dupstr(buf);
} else { } else {
move_cursor(button, &ui->hx, &ui->hy, ds->order, ds->order, false,
NULL);
ui->hshow = true;
ui->hcursor = 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)) { if (ui->hshow && IS_CURSOR_SELECT(button)) {