From 03bb0a680cf6f44825568381a9a7d82a2b90f509 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 21 Feb 2015 15:17:30 +0100 Subject: [PATCH] Use the right sound channel. --- qcsrc/server/func_breakable.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.39.2