The AngleArc() function that was being used to draw circles on Windows turns
[sgt/puzzles] / net.c
diff --git a/net.c b/net.c
index 6143719..8bfd899 100644 (file)
--- a/net.c
+++ b/net.c
@@ -1666,8 +1666,8 @@ static void free_game(game_state *state)
     sfree(state);
 }
 
-static game_state *solve_game(game_state *state, game_aux_info *aux,
-                             char **error)
+static game_state *solve_game(game_state *state, game_state *currstate,
+                             game_aux_info *aux, char **error)
 {
     game_state *ret;
 
@@ -1871,10 +1871,11 @@ static game_state *make_move(game_state *state, game_ui *ui,
         }
         return state;                 /* UI activity has occurred */
     } else if (button == 'a' || button == 's' || button == 'd' ||
-              button == 'A' || button == 'S' || button == 'D') {
+              button == 'A' || button == 'S' || button == 'D' ||
+              button == CURSOR_SELECT) {
        tx = ui->cur_x;
        ty = ui->cur_y;
-       if (button == 'a' || button == 'A')
+       if (button == 'a' || button == 'A' || button == CURSOR_SELECT)
            button = LEFT_BUTTON;
        else if (button == 's' || button == 'S')
            button = MIDDLE_BUTTON;