mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-06-01 10:02:57 +00:00
another delete operator missmatch
This commit is contained in:
parent
021c2809f4
commit
6be6aadf0e
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue