new batch of delete operator missmatch

This commit is contained in:
Nikita Edel committed 2026-03-09 22:48:36 +01:00
1 parent 10ee2085ff
commit 66b31669c3
13 files changed
+27 -17

No files matched your search

@@ -188,7 +188,8 @@ LevelChunk *TheEndLevelRandomLevelSource::getChunk(int xOffs, int zOffs)
levelChunk->recalcHeightmap();
//delete blocks.data; // Don't delete the blocks as the array data is actually owned by the chunk now
delete biomes.data;
//4jcraft changed to []
delete[] biomes.data;
return levelChunk;
}