new batch of delete operator missmatch

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

View File

@@ -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;
}