New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt/puzzles] / net.c
diff --git a/net.c b/net.c
index 667f939..2e19f1f 100644 (file)
--- a/net.c
+++ b/net.c
@@ -1922,7 +1922,7 @@ struct game_drawstate {
  * Process a move.
  */
 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)
 {
     char *nullret;
     int tx = -1, ty = -1, dir = 0;