X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/7ab28913e99672459fcd86ae5eb6121e3b409623..e1f3c70792cacbc9f081f56294b132d9ffbd71f0:/magnets.c diff --git a/magnets.c b/magnets.c index e49b7a5..e9b8c7d 100644 --- a/magnets.c +++ b/magnets.c @@ -1754,7 +1754,7 @@ struct game_drawstate { #define COORD(x) ( (x+1) * TILE_SIZE + BORDER ) #define FROMCOORD(x) ( (x - BORDER) / TILE_SIZE - 1 ) -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 = FROMCOORD(x), gy = FROMCOORD(y), idx, curr;