From 1af3d32d9c0e44c770de442be8dad7be05ae02d4 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 08 Aug 2021 16:59:35 -0400 Subject: maze: Optionally hide unseen walls --- (limited to 'src/game.c') diff --git a/src/game.c b/src/game.c index 433227f..8c3a8ff 100644 --- a/src/game.c +++ b/src/game.c @@ -149,7 +149,7 @@ mf_game(long seed, int size, int fow, int reveal, SDL_Renderer *renderer) SDL_Event event; /* Create maze */ - maze = mf_maze_new(seed, size, size); + maze = mf_maze_new(seed, size, size, reveal); if (maze == NULL) { goto err; } -- cgit v0.9.1