summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHoe.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-12 18:15:49 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-12 18:15:49 +0200
commita40eb93c33b8e2e199471263760234585c6ecb95 (patch)
treed020ac582dead9503b43b6965194ef401d846df1 /src/Items/ItemHoe.h
parentPlay placesound from the middle of the block. (diff)
downloadcuberite-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
Diffstat (limited to '')
-rw-r--r--src/Items/ItemHoe.h1
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;
}