summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-11-15 14:27:50 +0100
committerHowaner <franzi.moos@googlemail.com>2014-11-15 14:27:50 +0100
commit8c3c11d6b33c8ff71ad3f4e2c6ca67fc835dea33 (patch)
treebfa873cf8eab872224f4bf60a690ded640731422 /src/Entities/Player.cpp
parentUpdated APIDump (diff)
downloadcuberite-8c3c11d6b33c8ff71ad3f4e2c6ca67fc835dea33.tar
cuberite-8c3c11d6b33c8ff71ad3f4e2c6ca67fc835dea33.tar.gz
cuberite-8c3c11d6b33c8ff71ad3f4e2c6ca67fc835dea33.tar.bz2
cuberite-8c3c11d6b33c8ff71ad3f4e2c6ca67fc835dea33.tar.lz
cuberite-8c3c11d6b33c8ff71ad3f4e2c6ca67fc835dea33.tar.xz
cuberite-8c3c11d6b33c8ff71ad3f4e2c6ca67fc835dea33.tar.zst
cuberite-8c3c11d6b33c8ff71ad3f4e2c6ca67fc835dea33.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index 1fe14ff65..edcdb4799 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -1603,7 +1603,7 @@ bool cPlayer::DoMoveToWorld(cWorld * a_World, bool a_ShouldSendRespawn)
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());
+ m_ClientHandle->SetViewDistance(m_ClientHandle->GetRequestedViewDistance());
return true;
}