diff options
Diffstat (limited to '')
-rw-r--r-- | src/World.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.cpp b/src/World.cpp index ccb6abd0b..3ff8e0723 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -2479,13 +2479,13 @@ void cWorld::SetChunkData(cSetChunkData & a_SetChunkData) int ChunkZ = a_SetChunkData.GetChunkZ(); cChunkSender & ChunkSender = m_ChunkSender; DoWithChunk( - ChunkX, ChunkZ, + ChunkX, ChunkZ, [&ChunkSender] (cChunk & a_Chunk) -> bool { if (a_Chunk.HasAnyClients()) { ChunkSender.QueueSendChunkTo( - a_Chunk.GetPosX(), + a_Chunk.GetPosX(), a_Chunk.GetPosZ(), cChunkSender::PRIORITY_BROADCAST, a_Chunk.GetAllClients() |