1
0

Use m_UsedViewDistance and m_SetViewDistance.

This commit is contained in:
Howaner
2014-11-14 22:53:12 +01:00
parent a0e1e43fc1
commit 83d3f3347b
3 changed files with 26 additions and 15 deletions

View File

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