From: Rudolf Polzer Date: Sat, 21 Feb 2015 14:17:30 +0000 (+0100) Subject: Use the right sound channel. X-Git-Tag: xonotic-v0.8.1~114 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=03bb0a680cf6f44825568381a9a7d82a2b90f509;p=xonotic%2Fxonotic-data.pk3dir.git Use the right sound channel. --- diff --git a/qcsrc/server/func_breakable.qc b/qcsrc/server/func_breakable.qc index 3b7065d2a..a8cca1e86 100644 --- a/qcsrc/server/func_breakable.qc +++ b/qcsrc/server/func_breakable.qc @@ -121,7 +121,7 @@ void func_breakable_behave_destroyed() self.state = 1; func_breakable_colormod(); if (self.noise1) - stopsound (self, CH_TRIGGER); + stopsound (self, CH_TRIGGER_SINGLE); } void func_breakable_behave_restore() @@ -139,7 +139,7 @@ void func_breakable_behave_restore() self.nextthink = 0; // cancel auto respawn func_breakable_colormod(); if (self.noise1) - sound (self, CH_TRIGGER, self.noise1, VOL_BASE, ATTEN_NORM); + sound (self, CH_TRIGGER_SINGLE, self.noise1, VOL_BASE, ATTEN_NORM); } void func_breakable_destroyed()