diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-04 16:18:03 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-04 16:18:03 +0200 |
commit | dff77e8e5690b7834652884aadf6c3d5e1ceafd9 (patch) | |
tree | 36e6ae622b45712b521683666c13661544c28733 /source/Chunk.cpp | |
parent | ProtoProxy: Added PACKET_SPAWN_NAMED_ENTITY and PACKET_PLAYER_ANIMATION parsing (diff) | |
download | cuberite-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.cpp | 4 |
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[] } |