]> git.tdb.fi Git - poefilter.git/commitdiff
Disable the default drop sound if a custom alert is defined
authorMikko Rasa <tdb@tdb.fi>
Wed, 29 Aug 2018 18:10:28 +0000 (21:10 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 29 Aug 2018 18:10:28 +0000 (21:10 +0300)
This may become an option in the future, but at the moment my opinion is
that having both sounds only creates cacophony.

source/appearance.cpp

index 0500aa57fc826687a0ab9d3b8e47680a7348ee9a..cb132fd135a96c0effdaee80d274b331006e0a70 100644 (file)
@@ -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));