New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt/puzzles] / lightup.c
index 8f09263..5beacc7 100644 (file)
--- a/lightup.c
+++ b/lightup.c
@@ -1871,7 +1871,7 @@ struct game_drawstate {
             (pc)) -1 (nil)
         (nil))
  */
-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)
 {
     enum { NONE, FLIP_LIGHT, FLIP_IMPOSSIBLE } action = NONE;