From b984da5a9ec3998a00c8823b563d13303d441c87 Mon Sep 17 00:00:00 2001 From: "nielsbreu@gmail.com" Date: Sun, 16 Jun 2013 10:35:32 +0000 Subject: Added respawn screen when switching worlds. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1598 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Player.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/Player.cpp b/source/Player.cpp index 16255c003..24f02e7eb 100644 --- a/source/Player.cpp +++ b/source/Player.cpp @@ -901,8 +901,9 @@ bool cPlayer::MoveToWorld( const char* a_WorldName ) /* Add player to all the necessary parts of the new world */ SetWorld( World ); GetWorld()->AddPlayer(this); - GetClientHandle()->StreamChunks(); + m_ClientHandle->HandleRespawn(); + m_ClientHandle->StreamChunks(); return true; } -- cgit v1.2.3