Forgot to add the new 'const' in the unfinished subdirectory. Oops.
[sgt/puzzles] / unfinished / sokoban.c
index 53bd3a5..4b0780c 100644 (file)
@@ -1041,8 +1041,8 @@ int move_type(game_state *state, int dx, int dy)
     }
 }
 
-static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
-                           int x, int y, int button)
+static char *interpret_move(game_state *state, game_ui *ui,
+                            const game_drawstate *ds, int x, int y, int button)
 {
     int dx=0, dy=0;
     char *move;