New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt/puzzles] / signpost.c
index 5286b42..b5e22ed 100644 (file)
@@ -1418,7 +1418,7 @@ struct game_drawstate {
     blitter *dragb;
 };
 
-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 mx, int my, int button)
 {
     int x = FROMCOORD(mx), y = FROMCOORD(my), w = state->w;