Fixed players not spawning to others when they join the server.
Ref.: http://forum.mc-server.org/showthread.php?tid=434&pid=4633#pid4633 git-svn-id: http://mc-server.googlecode.com/svn/trunk@876 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
578c9c4694
commit
926030e89a
@ -263,6 +263,9 @@ void cClientHandle::Authenticate(void)
|
||||
m_Player->Initialize(World);
|
||||
StreamChunks();
|
||||
m_State = csDownloadingWorld;
|
||||
|
||||
// Broadcast this player's spawning to all other players in the same chunk
|
||||
m_Player->GetWorld()->BroadcastSpawn(*m_Player, this);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user