New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt/puzzles] / pattern.c
index b88edc5..ab5be76 100644 (file)
--- a/pattern.c
+++ b/pattern.c
@@ -833,7 +833,7 @@ struct game_drawstate {
     int cur_x, cur_y;
 };
 
-static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
+static char *interpret_move(game_state *state, game_ui *ui, const game_drawstate *ds,
                            int x, int y, int button)
 {
     button &= ~MOD_MASK;