Fixed underflow error on worldpos.
All checks were successful
Build Dusk / build-linux (push) Successful in 55s
Build Dusk / build-psp (push) Successful in 1m4s

This commit is contained in:
2025-11-19 15:59:44 -06:00
parent 6ed2bdd4c5
commit 8740c2b165
12 changed files with 75 additions and 18 deletions

View File

@@ -32,12 +32,7 @@ errorret_t assetChunkLoad(assetcustom_t custom) {
assertNotNull(custom.zipFile, "Zip file pointer cannot be NULL");
chunk_t *chunk = (chunk_t *)custom.output;
printf(
"Loading chunk asset at position (%d, %d, %d)...\n",
chunk->position.x,
chunk->position.y,
chunk->position.z
);
assertTrue(chunk->meshCount == 0, "Chunk is not in a good state");
// Read header
assetchunkheader_t header;