From: Rudolf Polzer Date: Sat, 21 Feb 2015 14:09:14 +0000 (+0100) Subject: Oops. Unbreak - stopsoundto is no longer public. X-Git-Tag: xonotic-v0.8.1~115 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1401c32bb4a47f6b40d6590c6a45f70512470b53;p=xonotic%2Fxonotic-data.pk3dir.git Oops. Unbreak - stopsoundto is no longer public. --- 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()