summaryrefslogtreecommitdiffstats
path: root/source/cPickup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cPickup.cpp')
-rw-r--r--source/cPickup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cPickup.cpp b/source/cPickup.cpp
index bba9ae518..49dc5b342 100644
--- a/source/cPickup.cpp
+++ b/source/cPickup.cpp
@@ -160,7 +160,7 @@ void cPickup::Tick(float a_Dt)
m_bReplicated = true;
m_bDirtyPosition = false;
cPacket_TeleportEntity TeleportEntity( this );
- GetWorld()->GetChunk( m_ChunkX, m_ChunkY, m_ChunkZ )->Broadcast( &TeleportEntity );
+ GetWorld()->BroadcastToChunk( m_ChunkX, m_ChunkY, m_ChunkZ, TeleportEntity );
}
}