Added respawn screen when switching worlds.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1598 0a769ca7-a7f5-676a-18bf-c427514a06d6
master
nielsbreu@gmail.com 2013-06-16 10:35:32 +00:00
parent 588d4dc907
commit b984da5a9e
1 changed files with 2 additions and 1 deletions

View File

@ -901,8 +901,9 @@ bool cPlayer::MoveToWorld( const char* a_WorldName )
/* Add player to all the necessary parts of the new world */ /* Add player to all the necessary parts of the new world */
SetWorld( World ); SetWorld( World );
GetWorld()->AddPlayer(this); GetWorld()->AddPlayer(this);
GetClientHandle()->StreamChunks();
m_ClientHandle->HandleRespawn();
m_ClientHandle->StreamChunks();
return true; return true;
} }