small tweak
parent
25e9b9e57e
commit
a8f357184f
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue