summaryrefslogtreecommitdiffstats
path: root/source/Items/ItemBow.h
diff options
context:
space:
mode:
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 1c936ef81..79520c074 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, (float)(0.75 + ((float)((Arrow->GetUniqueID() * 23) % 32)) / 64));
+ a_Player->GetWorld()->BroadcastSoundEffect("random.bow", (int)a_Player->GetPosX() * 8, (int)a_Player->GetPosY() * 8, (int)a_Player->GetPosZ() * 8, 0.5, Force);
if (!a_Player->IsGameModeCreative())
{