chiark / gitweb /
New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt-puzzles.git] / tents.c
diff --git a/tents.c b/tents.c
index cfdcdc37786e2db8e4689fcc71a77ab07ad33019..ef5debcc90c0bb8aa0c518ba8b2649dc2da405e2 100644 (file)
--- a/tents.c
+++ b/tents.c
@@ -1520,7 +1520,7 @@ static int drag_xform(game_ui *ui, int x, int y, int v)
     return v;
 }
 
-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 w = state->p.w, h = state->p.h;