Since the split into random and descriptive IDs, the section on game seeds has
[sgt/puzzles] / fifteen.c
index 9d138b1..700c26c 100644 (file)
--- a/fifteen.c
+++ b/fifteen.c
@@ -456,6 +456,8 @@ static game_state *make_move(game_state *from, game_ui *ui,
     int gx, gy, dx, dy, ux, uy, up, p;
     game_state *ret;
 
+    button &= ~MOD_MASK;
+
     gx = X(from, from->gap_pos);
     gy = Y(from, from->gap_pos);