summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-23 18:39:12 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-23 18:39:12 +0200
commit926030e89aa28e8810be69808e531efb43e1caf3 (patch)
tree52a3e3e774afefa489424531c459cff4bb567b7f /source
parentTweaked logging. (diff)
downloadcuberite-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 'source')
-rw-r--r--source/cClientHandle.cpp3
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);
}