diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-11-14 22:53:12 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-11-14 22:53:12 +0100 |
commit | 83d3f3347b5c812b06be87804b7582a92d0294d3 (patch) | |
tree | a3e50b52ed513401b11a231c62a3a24eaf698756 /src/Entities | |
parent | Merge branch 'master' into ViewDistance (diff) | |
download | cuberite-83d3f3347b5c812b06be87804b7582a92d0294d3.tar cuberite-83d3f3347b5c812b06be87804b7582a92d0294d3.tar.gz cuberite-83d3f3347b5c812b06be87804b7582a92d0294d3.tar.bz2 cuberite-83d3f3347b5c812b06be87804b7582a92d0294d3.tar.lz cuberite-83d3f3347b5c812b06be87804b7582a92d0294d3.tar.xz cuberite-83d3f3347b5c812b06be87804b7582a92d0294d3.tar.zst cuberite-83d3f3347b5c812b06be87804b7582a92d0294d3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 5c18d8f96..1fe14ff65 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -1602,6 +1602,9 @@ bool cPlayer::DoMoveToWorld(cWorld * a_World, bool a_ShouldSendRespawn) a_World->AddPlayer(this); SetWorld(a_World); // Chunks may be streamed before cWorld::AddPlayer() sets the world to the new value + // Update the view distance. + m_ClientHandle->SetViewDistance(m_ClientHandle->GetSettedViewDistance()); + return true; } |