diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-21 09:46:28 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-21 09:46:28 +0200 |
commit | 3f9e876d70851ed0333a3fdc57d883f040e92d8b (patch) | |
tree | 789155746561aed3b04818ed4221f40fa42e77fd /source/World.cpp | |
parent | Double chests are now working, and with sound. (FS #69) (diff) | |
download | cuberite-3f9e876d70851ed0333a3fdc57d883f040e92d8b.tar cuberite-3f9e876d70851ed0333a3fdc57d883f040e92d8b.tar.gz cuberite-3f9e876d70851ed0333a3fdc57d883f040e92d8b.tar.bz2 cuberite-3f9e876d70851ed0333a3fdc57d883f040e92d8b.tar.lz cuberite-3f9e876d70851ed0333a3fdc57d883f040e92d8b.tar.xz cuberite-3f9e876d70851ed0333a3fdc57d883f040e92d8b.tar.zst cuberite-3f9e876d70851ed0333a3fdc57d883f040e92d8b.zip |
Diffstat (limited to '')
-rw-r--r-- | source/World.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/source/World.cpp b/source/World.cpp index e6cd10f34..9ca84156b 100644 --- a/source/World.cpp +++ b/source/World.cpp @@ -1475,9 +1475,18 @@ void cWorld::BroadcastSoundEffect(const AString & a_SoundName, int a_SrcX, int a -void cWorld::BroadcastBlockBreakAnimation(int a_entityID, int a_blockX, int a_blockY, int a_blockZ, char a_stage, const cClientHandle * a_Exclude ) +void cWorld::BroadcastSoundParticleEffect(int a_EffectID, int a_SrcX, int a_SrcY, int a_SrcZ, int a_Data, const cClientHandle * a_Exclude) { - m_ChunkMap->BroadcastBlockBreakAnimation(a_entityID, a_blockX, a_blockY, a_blockZ, a_stage, a_Exclude); + m_ChunkMap->BroadcastSoundParticleEffect(a_EffectID, a_SrcX, a_SrcY, a_SrcZ, a_Data, a_Exclude); +} + + + + + +void cWorld::BroadcastBlockBreakAnimation(int a_EntityID, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Stage, const cClientHandle * a_Exclude ) +{ + m_ChunkMap->BroadcastBlockBreakAnimation(a_EntityID, a_BlockX, a_BlockY, a_BlockZ, a_Stage, a_Exclude); } |