chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt-puzzles.git]
/
netslide.c
diff --git
a/netslide.c
b/netslide.c
index 076cad41b2fee1c1a814edc2f8a899c78ea8b606..8d18652bb48f278de647574027764cc9f4c4b77b 100644
(file)
--- a/
netslide.c
+++ b/
netslide.c
@@
-1056,7
+1056,7
@@
struct game_drawstate {
};
static char *interpret_move(game_state *state, game_ui *ui,
- game_drawstate *ds, int x, int y, int button)
+
const
game_drawstate *ds, int x, int y, int button)
{
int cx, cy;
int dx, dy;