summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-06-17 17:00:51 +0200
committerHowaner <franzi.moos@googlemail.com>2014-06-17 17:00:51 +0200
commit0d08b9a62e1516e0f725791e42c3123cecf7028f (patch)
tree71d08a6d1f531fdfb88daea1ac92a9c9f56d8eb0 /src/Blocks
parentMerge pull request #1099 from Howaner/Blocks (diff)
downloadcuberite-0d08b9a62e1516e0f725791e42c3123cecf7028f.tar
cuberite-0d08b9a62e1516e0f725791e42c3123cecf7028f.tar.gz
cuberite-0d08b9a62e1516e0f725791e42c3123cecf7028f.tar.bz2
cuberite-0d08b9a62e1516e0f725791e42c3123cecf7028f.tar.lz
cuberite-0d08b9a62e1516e0f725791e42c3123cecf7028f.tar.xz
cuberite-0d08b9a62e1516e0f725791e42c3123cecf7028f.tar.zst
cuberite-0d08b9a62e1516e0f725791e42c3123cecf7028f.zip
Diffstat (limited to 'src/Blocks')
-rw-r--r--src/Blocks/BlockDoor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Blocks/BlockDoor.cpp b/src/Blocks/BlockDoor.cpp
index fb2d6f2dc..2d7c849c6 100644
--- a/src/Blocks/BlockDoor.cpp
+++ b/src/Blocks/BlockDoor.cpp
@@ -48,6 +48,7 @@ void cBlockDoorHandler::OnUse(cChunkInterface & a_ChunkInterface, cWorldInterfac
if (a_ChunkInterface.GetBlock(a_BlockX, a_BlockY, a_BlockZ) == E_BLOCK_WOODEN_DOOR)
{
ChangeDoor(a_ChunkInterface, a_BlockX, a_BlockY, a_BlockZ);
+ a_Player->GetWorld()->BroadcastSoundParticleEffect(1003, a_BlockX, a_BlockY, a_BlockZ, 0, a_Player->GetClientHandle());
}
}