chiark / gitweb /
New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt-puzzles.git] / unequal.c
index 5dcca368061ecd1a9f9fd7b99818b5e735e13b84..d16a572364caa7c9e3d697980e49db5bc526c26f 100644 (file)
--- a/unequal.c
+++ b/unequal.c
@@ -1371,7 +1371,7 @@ struct game_drawstate {
     int hflash;
 };
 
-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 ox, int oy, int button)
 {
     int x = FROMCOORD(ox), y = FROMCOORD(oy), n;