Codechange: remove unneeded dereference chunk type flag

This commit is contained in:
Rubidium
2025-01-14 19:14:18 +01:00
committed by rubidium42
parent 266b733095
commit 87e228b8b5
2 changed files with 0 additions and 7 deletions

View File

@@ -129,7 +129,6 @@ bool LoadChunk(LoadgameState *ls, void *base, const OldChunks *chunks)
}
uint8_t *ptr = (uint8_t*)chunk->ptr;
if (chunk->type & OC_DEREFERENCE_POINTER) ptr = *(uint8_t**)ptr;
for (uint i = 0; i < chunk->amount; i++) {
/* Handle simple types */