mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix corrupted voxel reset
This commit is contained in:
parent
cbb039a07a
commit
e0b5c8457b
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ static void check_voxels(const ContentIndices& indices, Chunk& chunk) {
|
|||
abort();
|
||||
#endif
|
||||
}
|
||||
chunk.voxels[i].id = BLOCK_AIR;
|
||||
chunk.voxels[i] = {};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue