another delete operator missmatch

This commit is contained in:
Nikita Edel 2026-03-10 02:27:16 +01:00
parent 021c2809f4
commit 6be6aadf0e

View file

@ -33,7 +33,7 @@ PlayerChunkMap::PlayerChunk::PlayerChunk(int x, int z, PlayerChunkMap *pcm) : po
PlayerChunkMap::PlayerChunk::~PlayerChunk()
{
delete changedTiles.data;
delete[] changedTiles.data; //4jcraft, changed to []
}
// 4J added - construct an an array of flags that indicate which entities are still waiting to have network packets sent out to say that they have been removed
@ -797,4 +797,4 @@ void PlayerChunkMap::setRadius(int newRadius)
assert(radius >= MIN_VIEW_DISTANCE);
this->radius = newRadius;
}
}
}