summaryrefslogtreecommitdiffstats
path: root/source/ClientHandle.cpp
diff options
context:
space:
mode:
authorluksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-22 22:45:56 +0200
committerluksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-22 22:45:56 +0200
commit9855316494a374d459a27e01133ab0a56f41b581 (patch)
tree58ee57b2d54ac2c2404d16d0ca1390eaaacd0b56 /source/ClientHandle.cpp
parentSlight formatting tuneup to the previous commit. (diff)
downloadcuberite-9855316494a374d459a27e01133ab0a56f41b581.tar
cuberite-9855316494a374d459a27e01133ab0a56f41b581.tar.gz
cuberite-9855316494a374d459a27e01133ab0a56f41b581.tar.bz2
cuberite-9855316494a374d459a27e01133ab0a56f41b581.tar.lz
cuberite-9855316494a374d459a27e01133ab0a56f41b581.tar.xz
cuberite-9855316494a374d459a27e01133ab0a56f41b581.tar.zst
cuberite-9855316494a374d459a27e01133ab0a56f41b581.zip
Diffstat (limited to 'source/ClientHandle.cpp')
-rw-r--r--source/ClientHandle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp
index 6bc0185ae..a6e025f8c 100644
--- a/source/ClientHandle.cpp
+++ b/source/ClientHandle.cpp
@@ -563,6 +563,7 @@ void cClientHandle::HandleBlockDig(int a_BlockX, int a_BlockY, int a_BlockZ, cha
ItemHandler->OnBlockDestroyed(World, m_Player, &Equipped, a_BlockX, a_BlockY, a_BlockZ);
BlockHandler(OldBlock)->OnDestroyedByPlayer(World, m_Player, a_BlockX, a_BlockY, a_BlockZ);
+ World->BroadcastSoundParticleEffect(2001, a_BlockX * 8, a_BlockY * 8, a_BlockZ * 8, OldBlock, this);
World->DigBlock(a_BlockX, a_BlockY, a_BlockZ);
}
else