Revamp of the control mechanism to permit drag- as well as
[sgt/puzzles] / net.c
diff --git a/net.c b/net.c
index ac1df02..29a3a27 100644 (file)
--- a/net.c
+++ b/net.c
@@ -2773,7 +2773,7 @@ static void game_print(drawing *dr, game_state *state, int tilesize)
 
     /* Ick: fake up `ds->tilesize' for macro expansion purposes */
     game_drawstate ads, *ds = &ads;
-    ads.tilesize = tilesize;
+    game_set_size(dr, ds, NULL, tilesize);
 
     /*
      * Border.
@@ -2801,7 +2801,6 @@ static void game_print(drawing *dr, game_state *state, int tilesize)
     for (y = 0; y <= h; y++)
        for (x = 0; x <= w; x++) {
            int b = barrier(state, x % w, y % h);
-           fprintf(stderr, "%d,%d: %d\n", x, y, b);
            if (x < w && (b & U))
                draw_rect(dr, WINDOW_OFFSET + TILE_SIZE * x - TILE_SIZE/24,
                          WINDOW_OFFSET + TILE_SIZE * y - TILE_SIZE/24,