aboutsummaryrefslogtreecommitdiff
path: root/netslide.c
diff options
context:
space:
mode:
Diffstat (limited to 'netslide.c')
-rw-r--r--netslide.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/netslide.c b/netslide.c
index b72706a..6bac447 100644
--- a/netslide.c
+++ b/netslide.c
@@ -1006,6 +1006,8 @@ static game_state *make_move(game_state *state, game_ui *ui,
int n, dx, dy;
game_state *ret;
+ button &= ~MOD_MASK;
+
if (button != LEFT_BUTTON && button != RIGHT_BUTTON)
return NULL;