diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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}; |