aboutsummaryrefslogtreecommitdiff
path: root/pattern.c
diff options
context:
space:
mode:
Diffstat (limited to 'pattern.c')
-rw-r--r--pattern.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pattern.c b/pattern.c
index 63b856c..e09ed3d 100644
--- a/pattern.c
+++ b/pattern.c
@@ -769,6 +769,8 @@ static game_state *make_move(game_state *from, game_ui *ui,
{
game_state *ret;
+ button &= ~MOD_MASK;
+
x = FROMCOORD(from->w, x);
y = FROMCOORD(from->h, y);