diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-07 00:47:07 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-07 00:47:07 +0100 |
commit | 30ead790490f04248b861db79fddde9148b552f4 (patch) | |
tree | d514486213ab0cf99d33d0580718fd058c3cbc51 /src/Chunk.cpp | |
parent | Fixed bed leave animation (diff) | |
download | cuberite-30ead790490f04248b861db79fddde9148b552f4.tar cuberite-30ead790490f04248b861db79fddde9148b552f4.tar.gz cuberite-30ead790490f04248b861db79fddde9148b552f4.tar.bz2 cuberite-30ead790490f04248b861db79fddde9148b552f4.tar.lz cuberite-30ead790490f04248b861db79fddde9148b552f4.tar.xz cuberite-30ead790490f04248b861db79fddde9148b552f4.tar.zst cuberite-30ead790490f04248b861db79fddde9148b552f4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Chunk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp index 53c7f3a82..1c03753c7 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -2668,7 +2668,7 @@ void cChunk::BroadcastEntityVelocity(const cEntity & a_Entity, const cClientHand -void cChunk::BroadcastPlayerAnimation(const cPlayer & a_Player, char a_Animation, const cClientHandle * a_Exclude) +void cChunk::BroadcastEntityAnimation(const cEntity & a_Entity, char a_Animation, const cClientHandle * a_Exclude) { for (cClientHandleList::const_iterator itr = m_LoadedByClient.begin(); itr != m_LoadedByClient.end(); ++itr ) { @@ -2676,7 +2676,7 @@ void cChunk::BroadcastPlayerAnimation(const cPlayer & a_Player, char a_Animation { continue; } - (*itr)->SendPlayerAnimation(a_Player, a_Animation); + (*itr)->SendEntityAnimation(a_Entity, a_Animation); } // for itr - LoadedByClient[] } |