diff options
Diffstat (limited to 'src/ChunkMap.cpp')
-rw-r--r-- | src/ChunkMap.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp index 7f53865d0..2e6153f0e 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -1582,10 +1582,7 @@ void cChunkMap::RemoveChunkClient(int a_ChunkX, int a_ChunkZ, const std::shared_ - -void cChunkMap::RemoveClientFromChunks(cClientHandle * a_Client) { - cCSLock Lock(m_CSChunks); for (const auto & Chunk : m_Chunks) { Chunk.second->RemoveClient(a_Client); @@ -1613,6 +1610,7 @@ void cChunkMap::AddEntity(cEntity * a_Entity) + ASSERT(GetWorld()->IsInTickThread()); void cChunkMap::AddEntityIfNotPresent(cEntity * a_Entity) { |