summaryrefslogtreecommitdiffstats
path: root/src/Entities/Pickup.cpp
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-04-03 17:49:12 +0200
committerGitHub <noreply@github.com>2020-04-03 17:49:12 +0200
commit4ed182c13aee963bd54bc19830b7a6cd19b48d33 (patch)
treefc9e98a0445aa6392285cda8e4a2837331bdf119 /src/Entities/Pickup.cpp
parentWebAdmin logo improvements (#4604) (diff)
downloadcuberite-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 '')
-rw-r--r--src/Entities/Pickup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Pickup.cpp b/src/Entities/Pickup.cpp
index 679e9d5ff..1ab01c631 100644
--- a/src/Entities/Pickup.cpp
+++ b/src/Entities/Pickup.cpp
@@ -255,7 +255,7 @@ bool cPickup::CollectedBy(cPlayer & a_Dest)
m_World->BroadcastCollectEntity(*this, a_Dest, NumAdded);
// Also send the "pop" sound effect with a somewhat random pitch (fast-random using EntityID ;)
- m_World->BroadcastSoundEffect("entity.item.pickup", GetPosition(), 0.5, (0.75f + (static_cast<float>((GetUniqueID() * 23) % 32)) / 64));
+ m_World->BroadcastSoundEffect("entity.item.pickup", GetPosition(), 0.3f, (1.2f + (static_cast<float>((GetUniqueID() * 23) % 32)) / 64));
if (m_Item.m_ItemCount <= 0)
{
// All of the pickup has been collected, schedule the pickup for destroying