chiark / gitweb /
New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt-puzzles.git] / fifteen.c
index 5419f41c75265506cc17bd46eafebf7fb419bdbf..1a106e815f29b28387edaaa2b8e9888bbc15f989 100644 (file)
--- a/fifteen.c
+++ b/fifteen.c
@@ -460,7 +460,7 @@ struct game_drawstate {
     int tilesize;
 };
 
-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 gx, gy, dx, dy;