summaryrefslogtreecommitdiffstats
path: root/source/Chunk.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-04 16:18:03 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-04 16:18:03 +0200
commitdff77e8e5690b7834652884aadf6c3d5e1ceafd9 (patch)
tree36e6ae622b45712b521683666c13661544c28733 /source/Chunk.cpp
parentProtoProxy: Added PACKET_SPAWN_NAMED_ENTITY and PACKET_PLAYER_ANIMATION parsing (diff)
downloadcuberite-dff77e8e5690b7834652884aadf6c3d5e1ceafd9.tar
cuberite-dff77e8e5690b7834652884aadf6c3d5e1ceafd9.tar.gz
cuberite-dff77e8e5690b7834652884aadf6c3d5e1ceafd9.tar.bz2
cuberite-dff77e8e5690b7834652884aadf6c3d5e1ceafd9.tar.lz
cuberite-dff77e8e5690b7834652884aadf6c3d5e1ceafd9.tar.xz
cuberite-dff77e8e5690b7834652884aadf6c3d5e1ceafd9.tar.zst
cuberite-dff77e8e5690b7834652884aadf6c3d5e1ceafd9.zip
Diffstat (limited to '')
-rw-r--r--source/Chunk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Chunk.cpp b/source/Chunk.cpp
index c33ba3608..60ec273be 100644
--- a/source/Chunk.cpp
+++ b/source/Chunk.cpp
@@ -2592,7 +2592,7 @@ void cChunk::BroadcastEntityStatus(const cEntity & a_Entity, char a_Status, cons
-void cChunk::BroadcastMetadata(const cPawn & a_Pawn, const cClientHandle * a_Exclude)
+void cChunk::BroadcastMetadata(const cEntity & a_Entity, const cClientHandle * a_Exclude)
{
for (cClientHandleList::const_iterator itr = m_LoadedByClient.begin(); itr != m_LoadedByClient.end(); ++itr )
{
@@ -2600,7 +2600,7 @@ void cChunk::BroadcastMetadata(const cPawn & a_Pawn, const cClientHandle * a_Exc
{
continue;
}
- (*itr)->SendMetadata(a_Pawn);
+ (*itr)->SendMetadata(a_Entity);
} // for itr - LoadedByClient[]
}