X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Ft_items.qc;h=a3ac40b670010a39cfff08aea30f1c7c826b4037;hp=957a6fcc7ca23b8653eb32bbfed17023e0686152;hb=35528e99ccad9a20fbd6eed640a5bc1bda884acd;hpb=e4fdca5e33811690b935475b5a758872c4eb7659 diff --git a/qcsrc/common/t_items.qc b/qcsrc/common/t_items.qc index 957a6fcc7c..a3ac40b670 100644 --- a/qcsrc/common/t_items.qc +++ b/qcsrc/common/t_items.qc @@ -816,7 +816,7 @@ LABEL(pickup) other.last_pickup = time; Send_Effect(EFFECT_ITEM_PICKUP, CENTER_OR_VIEWOFS(this), '0 0 0', 1); - _sound (other, CH_TRIGGER, (this.item_pickupsound ? this.item_pickupsound : Sound_fixpath(this.item_pickupsound_ent)), VOL_BASE, ATTEN_NORM); + _sound (other, (this.itemdef.instanceOfPowerup ? CH_TRIGGER_SINGLE : CH_TRIGGER), (this.item_pickupsound ? this.item_pickupsound : Sound_fixpath(this.item_pickupsound_ent)), VOL_BASE, ATTEN_NORM); if (this.classname == "droppedweapon") remove (this);