diff options
author | Mat <mail@mathias.is> | 2020-04-03 17:49:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-03 17:49:12 +0200 |
commit | 4ed182c13aee963bd54bc19830b7a6cd19b48d33 (patch) | |
tree | fc9e98a0445aa6392285cda8e4a2837331bdf119 /src/Entities/ArrowEntity.cpp | |
parent | WebAdmin logo improvements (#4604) (diff) | |
download | cuberite-4ed182c13aee963bd54bc19830b7a6cd19b48d33.tar cuberite-4ed182c13aee963bd54bc19830b7a6cd19b48d33.tar.gz cuberite-4ed182c13aee963bd54bc19830b7a6cd19b48d33.tar.bz2 cuberite-4ed182c13aee963bd54bc19830b7a6cd19b48d33.tar.lz cuberite-4ed182c13aee963bd54bc19830b7a6cd19b48d33.tar.xz cuberite-4ed182c13aee963bd54bc19830b7a6cd19b48d33.tar.zst cuberite-4ed182c13aee963bd54bc19830b7a6cd19b48d33.zip |
Diffstat (limited to 'src/Entities/ArrowEntity.cpp')
-rw-r--r-- | src/Entities/ArrowEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/ArrowEntity.cpp b/src/Entities/ArrowEntity.cpp index 54ece0e16..428721a80 100644 --- a/src/Entities/ArrowEntity.cpp +++ b/src/Entities/ArrowEntity.cpp @@ -154,7 +154,7 @@ void cArrowEntity::CollectedBy(cPlayer & a_Dest) } GetWorld()->BroadcastCollectEntity(*this, a_Dest, 1); - GetWorld()->BroadcastSoundEffect("entity.item.pickup", GetPosition(), 0.5, static_cast<float>(0.75 + (static_cast<float>((GetUniqueID() * 23) % 32)) / 64)); + GetWorld()->BroadcastSoundEffect("entity.item.pickup", GetPosition(), 0.3f, (1.2f + (static_cast<float>((GetUniqueID() * 23) % 32)) / 64)); m_bIsCollected = true; } } |