diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-12 22:43:20 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-11-12 22:43:20 +0100 |
commit | 347162a82f2cba75c4eb7739d4405ea78de4f0b5 (patch) | |
tree | 35409f6d8f6061ae3f8fa4569c0962a8bd569186 /source/Items/ItemBow.h | |
parent | Bundled fixes [SEE DESC] (diff) | |
download | cuberite-347162a82f2cba75c4eb7739d4405ea78de4f0b5.tar cuberite-347162a82f2cba75c4eb7739d4405ea78de4f0b5.tar.gz cuberite-347162a82f2cba75c4eb7739d4405ea78de4f0b5.tar.bz2 cuberite-347162a82f2cba75c4eb7739d4405ea78de4f0b5.tar.lz cuberite-347162a82f2cba75c4eb7739d4405ea78de4f0b5.tar.xz cuberite-347162a82f2cba75c4eb7739d4405ea78de4f0b5.tar.zst cuberite-347162a82f2cba75c4eb7739d4405ea78de4f0b5.zip |
Diffstat (limited to 'source/Items/ItemBow.h')
-rw-r--r-- | source/Items/ItemBow.h | 2 |
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()) { |