diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-12 18:15:49 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-12 18:15:49 +0200 |
commit | a40eb93c33b8e2e199471263760234585c6ecb95 (patch) | |
tree | d020ac582dead9503b43b6965194ef401d846df1 | |
parent | Play placesound from the middle of the block. (diff) | |
download | cuberite-a40eb93c33b8e2e199471263760234585c6ecb95.tar cuberite-a40eb93c33b8e2e199471263760234585c6ecb95.tar.gz cuberite-a40eb93c33b8e2e199471263760234585c6ecb95.tar.bz2 cuberite-a40eb93c33b8e2e199471263760234585c6ecb95.tar.lz cuberite-a40eb93c33b8e2e199471263760234585c6ecb95.tar.xz cuberite-a40eb93c33b8e2e199471263760234585c6ecb95.tar.zst cuberite-a40eb93c33b8e2e199471263760234585c6ecb95.zip |
-rw-r--r-- | src/Items/ItemHoe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Items/ItemHoe.h b/src/Items/ItemHoe.h index 8d0b71478..a92337b62 100644 --- a/src/Items/ItemHoe.h +++ b/src/Items/ItemHoe.h @@ -25,6 +25,7 @@ public: if ((Block == E_BLOCK_DIRT) || (Block == E_BLOCK_GRASS)) { a_World->FastSetBlock(a_BlockX, a_BlockY, a_BlockZ, E_BLOCK_FARMLAND, 0); + a_World->BroadcastSoundEffect("dig.gravel", a_BlockX + 0.5, a_BlockY + 0.5, a_BlockZ + 0.5, 1.0f, 0.8f); a_Player->UseEquippedItem(); return true; } |