From f0b443c37daa92d36ea752d837855a28b084dd3c Mon Sep 17 00:00:00 2001 From: kartofen Date: Fri, 12 Aug 2022 14:07:54 +0300 Subject: most likely works with more than 63 --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 6b70536..59a1fc0 100644 --- a/src/main.c +++ b/src/main.c @@ -132,7 +132,6 @@ error: int main(int argc, char **argv) { - // SEED = 69; SEED = time(0); manage_arguments(argc, argv); @@ -141,8 +140,8 @@ int main(int argc, char **argv) printf("The Seed is %ld\n", SEED); load_tiles(); - generate_tile_masks(get_tile_connections()); init_tilemap(); + generate_tile_masks(get_tile_connections()); while(1) { int lei; @@ -173,6 +172,7 @@ int main(int argc, char **argv) } free_tiles(); + destroy_tilemap(); char file_name[64] = {0}; -- cgit v1.2.3