1
0

Added queue for adding entities to cWorld.

This alone doesn't work properly yet, further changes to cPlayer are needed.
This commit is contained in:
Mattes D
2014-06-06 22:31:16 +02:00
parent c5d1ca7dac
commit b904223b9d
6 changed files with 42 additions and 7 deletions

View File

@@ -1595,8 +1595,6 @@ bool cPlayer::MoveToWorld(const char * a_WorldName)
m_ClientHandle->MoveToWorld(*World, (OldDimension != World->GetDimension()));
// Add player to all the necessary parts of the new world
SetWorld(World);
m_ClientHandle->StreamChunks();
World->AddEntity(this);
World->AddPlayer(this);