chiark / gitweb /
New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt-puzzles.git] / untangle.c
index c07c957e0ec736984705a190db75eaf5f339aa47..beb28717cccb423af09548629c30f1c843b0adb5 100644 (file)
@@ -1072,7 +1072,7 @@ struct game_drawstate {
     long *x, *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)
 {
     int n = state->params.n;