summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-12-13 13:29:51 +0100
committerHowaner <franzi.moos@googlemail.com>2014-12-13 13:29:51 +0100
commit526664b12d5a9dbc670ebd6180a869d33c82d8dd (patch)
tree2df0110c20d44a4fc6d3a19fe330d82779ec0e8a
parentIce uses the IsSolid() list. (diff)
downloadcuberite-526664b12d5a9dbc670ebd6180a869d33c82d8dd.tar
cuberite-526664b12d5a9dbc670ebd6180a869d33c82d8dd.tar.gz
cuberite-526664b12d5a9dbc670ebd6180a869d33c82d8dd.tar.bz2
cuberite-526664b12d5a9dbc670ebd6180a869d33c82d8dd.tar.lz
cuberite-526664b12d5a9dbc670ebd6180a869d33c82d8dd.tar.xz
cuberite-526664b12d5a9dbc670ebd6180a869d33c82d8dd.tar.zst
cuberite-526664b12d5a9dbc670ebd6180a869d33c82d8dd.zip
-rw-r--r--src/Entities/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index 8d2eb1e5f..6cdbfa921 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -1883,7 +1883,7 @@ void cPlayer::UseEquippedItem(int a_Amount)
if (GetInventory().DamageEquippedItem(a_Amount))
{
- m_World->BroadcastSoundEffect("random.break", GetPosX(), GetPosY(), GetPosZ(), 0.5f, (float)(0.75 + ((float)((GetUniqueID() * 23) % 32)) / 64));
+ m_World->BroadcastSoundEffect("random.break", GetPosX(), GetPosY(), GetPosZ(), 0.5f, (float)(0.75 + ((float)((GetUniqueID() * 23) % 32)) / 64), m_ClientHandle);
}
}