summaryrefslogtreecommitdiffstats
path: root/source/Items
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-13 15:53:03 +0100
committermadmaxoft <github@xoft.cz>2013-11-13 15:53:03 +0100
commitceee25bd11fb2dc8e5e879512f5165498fa4db0b (patch)
tree50f3604ad0d447e1c9b5e74fb96a4ffe7892f7a6 /source/Items
parentPluginManager::Bind displays more information in the error message. (diff)
downloadcuberite-ceee25bd11fb2dc8e5e879512f5165498fa4db0b.tar
cuberite-ceee25bd11fb2dc8e5e879512f5165498fa4db0b.tar.gz
cuberite-ceee25bd11fb2dc8e5e879512f5165498fa4db0b.tar.bz2
cuberite-ceee25bd11fb2dc8e5e879512f5165498fa4db0b.tar.lz
cuberite-ceee25bd11fb2dc8e5e879512f5165498fa4db0b.tar.xz
cuberite-ceee25bd11fb2dc8e5e879512f5165498fa4db0b.tar.zst
cuberite-ceee25bd11fb2dc8e5e879512f5165498fa4db0b.zip
Diffstat (limited to '')
-rw-r--r--source/Items/ItemBow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Items/ItemBow.h b/source/Items/ItemBow.h
index 79520c074..d533c21fd 100644
--- a/source/Items/ItemBow.h
+++ b/source/Items/ItemBow.h
@@ -72,7 +72,7 @@ public:
return;
}
a_Player->GetWorld()->BroadcastSpawnEntity(*Arrow);
- a_Player->GetWorld()->BroadcastSoundEffect("random.bow", (int)a_Player->GetPosX() * 8, (int)a_Player->GetPosY() * 8, (int)a_Player->GetPosZ() * 8, 0.5, Force);
+ a_Player->GetWorld()->BroadcastSoundEffect("random.bow", (int)a_Player->GetPosX() * 8, (int)a_Player->GetPosY() * 8, (int)a_Player->GetPosZ() * 8, 0.5, (float)Force);
if (!a_Player->IsGameModeCreative())
{