chiark / gitweb /
New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt-puzzles.git] / netslide.c
index 076cad41b2fee1c1a814edc2f8a899c78ea8b606..8d18652bb48f278de647574027764cc9f4c4b77b 100644 (file)
@@ -1056,7 +1056,7 @@ struct game_drawstate {
 };
 
 static char *interpret_move(game_state *state, game_ui *ui,
-                           game_drawstate *ds, int x, int y, int button)
+                           const game_drawstate *ds, int x, int y, int button)
 {
     int cx, cy;
     int dx, dy;