summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-31 19:51:31 +0200
committertycho <work.tycho@gmail.com>2015-06-05 23:31:22 +0200
commit9ebbe969c887d4fbb0c681b80eae589ce79dbd5d (patch)
treeabfdf76c2cd59b260ba408078dfc00bea93a7198 /src/World.cpp
parentRewrote ChunkSending queue for significantly improved performance (diff)
downloadcuberite-9ebbe969c887d4fbb0c681b80eae589ce79dbd5d.tar
cuberite-9ebbe969c887d4fbb0c681b80eae589ce79dbd5d.tar.gz
cuberite-9ebbe969c887d4fbb0c681b80eae589ce79dbd5d.tar.bz2
cuberite-9ebbe969c887d4fbb0c681b80eae589ce79dbd5d.tar.lz
cuberite-9ebbe969c887d4fbb0c681b80eae589ce79dbd5d.tar.xz
cuberite-9ebbe969c887d4fbb0c681b80eae589ce79dbd5d.tar.zst
cuberite-9ebbe969c887d4fbb0c681b80eae589ce79dbd5d.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp4
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()