diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-23 18:39:12 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-23 18:39:12 +0200 |
commit | 926030e89aa28e8810be69808e531efb43e1caf3 (patch) | |
tree | 52a3e3e774afefa489424531c459cff4bb567b7f /source/cClientHandle.cpp | |
parent | Tweaked logging. (diff) | |
download | cuberite-926030e89aa28e8810be69808e531efb43e1caf3.tar cuberite-926030e89aa28e8810be69808e531efb43e1caf3.tar.gz cuberite-926030e89aa28e8810be69808e531efb43e1caf3.tar.bz2 cuberite-926030e89aa28e8810be69808e531efb43e1caf3.tar.lz cuberite-926030e89aa28e8810be69808e531efb43e1caf3.tar.xz cuberite-926030e89aa28e8810be69808e531efb43e1caf3.tar.zst cuberite-926030e89aa28e8810be69808e531efb43e1caf3.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cClientHandle.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp index f13be381b..75efce3dc 100644 --- a/source/cClientHandle.cpp +++ b/source/cClientHandle.cpp @@ -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); } |