From: Mikko Rasa Date: Wed, 29 Aug 2018 18:10:28 +0000 (+0300) Subject: Disable the default drop sound if a custom alert is defined X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=72408a21b9a598802d79a2d1845e638592ee9acb;p=poefilter.git Disable the default drop sound if a custom alert is defined This may become an option in the future, but at the moment my opinion is that having both sounds only creates cacophony. --- diff --git a/source/appearance.cpp b/source/appearance.cpp index 0500aa5..cb132fd 100644 --- a/source/appearance.cpp +++ b/source/appearance.cpp @@ -53,7 +53,10 @@ void Appearance::add_lines(FilterStatement &st) const st.add_line(format("MinimapIcon %d %s %s", icon_size, icon_color, icon_shape)); if(sound_type) + { st.add_line(format("PlayAlertSound %d %d", sound_type, sound_volume)); + st.add_line("DisableDropSound"); + } if(show_beam) st.add_line(format("PlayEffect %s", beam_color));