shithub: puzzles

Download patch

ref: 568c22210611f369e11b9348a6e1145bba9c6ee7
parent: 0fa62ae4ff98e6cd213c09995fadf979b74d8f6a
author: Ben Harris <bjh21@bjh21.me.uk>
date: Fri Aug 11 20:58:16 EDT 2023

Towers: use new move_cursor() features

--- a/towers.c
+++ b/towers.c
@@ -1519,10 +1519,8 @@
             }
             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)) {