ContentPackRuntime + refactor
This commit is contained in:
@@ -93,7 +93,7 @@ ubyte* Chunk::encode() const {
|
||||
return buffer;
|
||||
}
|
||||
|
||||
bool Chunk::decode(ubyte* data) {
|
||||
bool Chunk::decode(const ubyte* data) {
|
||||
for (uint i = 0; i < CHUNK_VOL; i++) {
|
||||
voxel& vox = voxels[i];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user