X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/67814b5e7cf2d83a623ed4fb390a1fecd7ac1730..565394e763465110e6e9d46d9b3a9c87a3e41682:/net.c?ds=sidebyside diff --git a/net.c b/net.c index ac1df02..29a3a27 100644 --- 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,