1
0
Fork 0
This commit is contained in:
Howaner 2014-10-21 18:32:02 +02:00
parent 5d3b6c212f
commit 2d63967551
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}