diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-08-11 23:52:53 +0100 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-08-13 16:44:24 +0100 |
| commit | f7fa9d45f5644576b8a38cd9e6dd7838ad286127 (patch) | |
| tree | 7bd2ff4b4b34d79d1306eeaaa0afd384c4c9edff | |
| parent | 7e7545cb56cf44aa42582561a2b134ae6cbb633b (diff) | |
| download | puzzles-f7fa9d45f5644576b8a38cd9e6dd7838ad286127.zip puzzles-f7fa9d45f5644576b8a38cd9e6dd7838ad286127.tar.gz puzzles-f7fa9d45f5644576b8a38cd9e6dd7838ad286127.tar.bz2 puzzles-f7fa9d45f5644576b8a38cd9e6dd7838ad286127.tar.xz | |
Solo: use new move_cursor() features
| -rw-r--r-- | solo.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4696,10 +4696,9 @@ static char *interpret_move(const game_state *state, game_ui *ui, } } if (IS_CURSOR_MOVE(button)) { - move_cursor(button, &ui->hx, &ui->hy, cr, cr, false, NULL); - ui->hshow = true; ui->hcursor = true; - return MOVE_UI_UPDATE; + return move_cursor(button, &ui->hx, &ui->hy, cr, cr, false, + &ui->hshow); } if (ui->hshow && (button == CURSOR_SELECT)) { |