summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-10-21 18:32:02 +0200
committerHowaner <franzi.moos@googlemail.com>2014-10-21 18:32:02 +0200
commit2d639675516cb563e3f7bf018ee3619970ef1edc (patch)
tree6f6e455f0ca840bb6518aac6710f49b5696ac15d
parentReverted plugin remove (diff)
downloadcuberite-2d639675516cb563e3f7bf018ee3619970ef1edc.tar
cuberite-2d639675516cb563e3f7bf018ee3619970ef1edc.tar.gz
cuberite-2d639675516cb563e3f7bf018ee3619970ef1edc.tar.bz2
cuberite-2d639675516cb563e3f7bf018ee3619970ef1edc.tar.lz
cuberite-2d639675516cb563e3f7bf018ee3619970ef1edc.tar.xz
cuberite-2d639675516cb563e3f7bf018ee3619970ef1edc.tar.zst
cuberite-2d639675516cb563e3f7bf018ee3619970ef1edc.zip
Diffstat (limited to '')
-rw-r--r--src/ChunkSender.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ChunkSender.cpp b/src/ChunkSender.cpp
index 680f34bce..fdcd485a9 100644
--- a/src/ChunkSender.cpp
+++ b/src/ChunkSender.cpp
@@ -135,7 +135,8 @@ void cChunkSender::RemoveClient(cClientHandle * a_Client)
} // for itr - m_SendChunksLowPriority[]
for (sSendChunkList::iterator itr = m_SendChunksHighPriority.begin(); itr != m_SendChunksHighPriority.end();)
{
- if (itr->m_Client == a_Client) {
+ if (itr->m_Client == a_Client)
+ {
itr = m_SendChunksHighPriority.erase(itr);
continue;
}