aboutsummaryrefslogtreecommitdiff
path: root/pattern.c
diff options
context:
space:
mode:
Diffstat (limited to 'pattern.c')
-rw-r--r--pattern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pattern.c b/pattern.c
index de0fb97..d38cada 100644
--- a/pattern.c
+++ b/pattern.c
@@ -1292,7 +1292,7 @@ static char *interpret_move(const game_state *state, game_ui *ui,
int x, int y, int button)
{
bool control = button & MOD_CTRL, shift = button & MOD_SHFT;
- button &= ~MOD_MASK;
+ button = STRIP_BUTTON_MODIFIERS(button);
x = FROMCOORD(state->common->w, x);
y = FROMCOORD(state->common->h, y);