aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slant.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/slant.c b/slant.c
index fde9847..6210d01 100644
--- a/slant.c
+++ b/slant.c
@@ -1705,6 +1705,7 @@ static char *interpret_move(const game_state *state, game_ui *ui,
y = FROMCOORD(y);
if (x < 0 || y < 0 || x >= w || y >= h)
return NULL;
+ ui->cur_visible = 0;
} else if (IS_CURSOR_SELECT(button)) {
if (!ui->cur_visible) {
ui->cur_visible = 1;