chiark / gitweb /
Forgot to add the new 'const' in the unfinished subdirectory. Oops.
[sgt-puzzles.git] / unfinished / sokoban.c
index 53bd3a5bc00bb9818d79321373ae6c3d45bff75a..4b0780c3b62c5fe26df2c53bbcf31e2270df0329 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;