diff options
author | mathiascode <mathiascode@users.noreply.github.com> | 2017-02-15 06:05:24 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2017-02-15 06:05:24 +0100 |
commit | dae2adde6563bec4b614230992cae6b1ca965b4f (patch) | |
tree | 34149ac0340cc394019eb430247d03950b485555 /src/Items/ItemThrowable.h | |
parent | Added some blocks and items (#3503) (diff) | |
download | cuberite-dae2adde6563bec4b614230992cae6b1ca965b4f.tar cuberite-dae2adde6563bec4b614230992cae6b1ca965b4f.tar.gz cuberite-dae2adde6563bec4b614230992cae6b1ca965b4f.tar.bz2 cuberite-dae2adde6563bec4b614230992cae6b1ca965b4f.tar.lz cuberite-dae2adde6563bec4b614230992cae6b1ca965b4f.tar.xz cuberite-dae2adde6563bec4b614230992cae6b1ca965b4f.tar.zst cuberite-dae2adde6563bec4b614230992cae6b1ca965b4f.zip |
Diffstat (limited to 'src/Items/ItemThrowable.h')
-rw-r--r-- | src/Items/ItemThrowable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemThrowable.h b/src/Items/ItemThrowable.h index d5a109887..eaeb118f0 100644 --- a/src/Items/ItemThrowable.h +++ b/src/Items/ItemThrowable.h @@ -37,7 +37,7 @@ public: // Play sound cFastRandom Random; - a_World->BroadcastSoundEffect("random.bow", a_Player->GetPosX(), a_Player->GetPosY() - a_Player->GetHeight(), a_Player->GetPosZ(), 0.5f, 0.4f / (Random.NextFloat(1.0f) * 0.4f + 0.8f)); + a_World->BroadcastSoundEffect("entity.arrow.shoot", a_Player->GetPosX(), a_Player->GetPosY() - a_Player->GetHeight(), a_Player->GetPosZ(), 0.5f, 0.4f / (Random.NextFloat(1.0f) * 0.4f + 0.8f)); if (a_World->CreateProjectile(Pos.x, Pos.y, Pos.z, m_ProjectileKind, a_Player, &a_Player->GetEquippedItem(), &Speed) == cEntity::INVALID_ID) { |