mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
James H points out a rogue fprintf in Net's print routine.
[originally from svn r6202]
This commit is contained in:
1
net.c
1
net.c
@ -2801,7 +2801,6 @@ static void game_print(drawing *dr, game_state *state, int tilesize)
|
|||||||
for (y = 0; y <= h; y++)
|
for (y = 0; y <= h; y++)
|
||||||
for (x = 0; x <= w; x++) {
|
for (x = 0; x <= w; x++) {
|
||||||
int b = barrier(state, x % w, y % h);
|
int b = barrier(state, x % w, y % h);
|
||||||
fprintf(stderr, "%d,%d: %d\n", x, y, b);
|
|
||||||
if (x < w && (b & U))
|
if (x < w && (b & U))
|
||||||
draw_rect(dr, WINDOW_OFFSET + TILE_SIZE * x - TILE_SIZE/24,
|
draw_rect(dr, WINDOW_OFFSET + TILE_SIZE * x - TILE_SIZE/24,
|
||||||
WINDOW_OFFSET + TILE_SIZE * y - TILE_SIZE/24,
|
WINDOW_OFFSET + TILE_SIZE * y - TILE_SIZE/24,
|
||||||
|
Reference in New Issue
Block a user