chiark / gitweb /
New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt-puzzles.git] / loopy.c
diff --git a/loopy.c b/loopy.c
index 85590fae986b9a47ea6ec6031943a65c949952a0..5df13d59f857a51a40de5a134c40627bdf05ccf2 100644 (file)
--- a/loopy.c
+++ b/loopy.c
@@ -2813,7 +2813,7 @@ static char *solve_game(game_state *state, game_state *currstate,
  * Drawing and mouse-handling
  */
 
-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)
 {
     grid *g = state->game_grid;