1
0
Fork 0

Fixed m_SentChunks list chunk removing.

This commit is contained in:
Howaner 2014-10-30 22:04:04 +01:00
parent 30db6d9852
commit d93acb841f
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ void cClientHandle::UnloadOutOfRangeChunks(void)
for (cChunkCoordsList::iterator itr = ChunksToRemove.begin(); itr != ChunksToRemove.end(); ++itr)
{
m_Player->GetWorld()->RemoveChunkClient(itr->m_ChunkX, itr->m_ChunkZ, this);
m_Protocol->SendUnloadChunk(itr->m_ChunkX, itr->m_ChunkZ);
SendUnloadChunk(itr->m_ChunkX, itr->m_ChunkZ);
}
}