diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-06-17 17:00:51 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-06-17 17:00:51 +0200 |
commit | 0d08b9a62e1516e0f725791e42c3123cecf7028f (patch) | |
tree | 71d08a6d1f531fdfb88daea1ac92a9c9f56d8eb0 | |
parent | Merge pull request #1099 from Howaner/Blocks (diff) | |
download | cuberite-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 |
-rw-r--r-- | src/Blocks/BlockDoor.cpp | 1 |
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()); } } |