Since the split into random and descriptive IDs, the section on game seeds has
[sgt/puzzles] / rect.c
diff --git a/rect.c b/rect.c
index 848dcd3..76abeed 100644 (file)
--- a/rect.c
+++ b/rect.c
@@ -2127,6 +2127,8 @@ static game_state *make_move(game_state *from, game_ui *ui,
     int startdrag = FALSE, enddrag = FALSE, active = FALSE;
     game_state *ret;
 
+    button &= ~MOD_MASK;
+
     if (button == LEFT_BUTTON) {
         startdrag = TRUE;
     } else if (button == LEFT_RELEASE) {