From 1401c32bb4a47f6b40d6590c6a45f70512470b53 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 21 Feb 2015 15:09:14 +0100 Subject: [PATCH] Oops. Unbreak - stopsoundto is no longer public. --- qcsrc/server/func_breakable.qc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/qcsrc/server/func_breakable.qc b/qcsrc/server/func_breakable.qc index 3acf9157b..3b7065d2a 100644 --- a/qcsrc/server/func_breakable.qc +++ b/qcsrc/server/func_breakable.qc @@ -121,13 +121,7 @@ void func_breakable_behave_destroyed() self.state = 1; func_breakable_colormod(); if (self.noise1) - { - stopsoundto (MSG_BROADCAST, self, CH_TRIGGER); - // Only also send a reliable stop if self.noise is unused. - // Otherwise we may be stopping the destroy sound too. - if (!self.noise) - stopsoundto (MSG_ALL, self, CH_TRIGGER); - } + stopsound (self, CH_TRIGGER); } void func_breakable_behave_restore() -- 2.39.2