Added respawn screen when switching worlds.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1598 0a769ca7-a7f5-676a-18bf-c427514a06d6master
parent
588d4dc907
commit
b984da5a9e
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue