small tweak

isolation_bkp/dynres
Dominik Madarász 2021-08-30 12:00:09 +02:00
parent 25e9b9e57e
commit a8f357184f
1 changed files with 1 additions and 0 deletions

View File

@ -215,6 +215,7 @@ int32_t world_destroy(void) {
zpl_mfree(world.chunk_mapping); zpl_mfree(world.chunk_mapping);
for (int i = 0; i < zpl_square(world.chunk_amount); i+=1) { for (int i = 0; i < zpl_square(world.chunk_amount); i+=1) {
zpl_mfree(world.block_mapping[i]); zpl_mfree(world.block_mapping[i]);
zpl_mfree(world.outer_block_mapping[i]);
} }
zpl_mfree(world.block_mapping); zpl_mfree(world.block_mapping);
zpl_mfree(world.outer_block_mapping); zpl_mfree(world.outer_block_mapping);