diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-12 16:21:07 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-12 16:21:07 +0200 |
commit | 29567c56107c86b70da130f995564beb2eaf424c (patch) | |
tree | be7b996042b28d8ebac0c7c665963d1d7e991600 /src/ClientHandle.cpp | |
parent | Merge branch 'master' into portals (diff) | |
download | cuberite-29567c56107c86b70da130f995564beb2eaf424c.tar cuberite-29567c56107c86b70da130f995564beb2eaf424c.tar.gz cuberite-29567c56107c86b70da130f995564beb2eaf424c.tar.bz2 cuberite-29567c56107c86b70da130f995564beb2eaf424c.tar.lz cuberite-29567c56107c86b70da130f995564beb2eaf424c.tar.xz cuberite-29567c56107c86b70da130f995564beb2eaf424c.tar.zst cuberite-29567c56107c86b70da130f995564beb2eaf424c.zip |
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 256dad7da..84f096d67 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -1766,8 +1766,7 @@ void cClientHandle::RemoveFromWorld(void) m_Protocol->SendUnloadChunk(itr->m_ChunkX, itr->m_ChunkZ); } // for itr - Chunks[] - // StreamChunks() called in cPlayer::MoveToWorld() after new world has been set - // Meanwhile here, we set last streamed values to bogus ones so everything is resent + // Here, we set last streamed values to bogus ones so everything is resent m_LastStreamedChunkX = 0x7fffffff; m_LastStreamedChunkZ = 0x7fffffff; m_HasSentPlayerChunk = false; @@ -2367,9 +2366,9 @@ void cClientHandle::SendRemoveEntityEffect(const cEntity & a_Entity, int a_Effec -void cClientHandle::SendRespawn(const cWorld & a_World) +void cClientHandle::SendRespawn(eDimension a_Dimension) { - m_Protocol->SendRespawn(a_World); + m_Protocol->SendRespawn(a_Dimension); } |