Turn bell has a separate preference option,

...so it should be orthogonal to sound effects.  Fixes bug #13275:
Turn Bell Not Functioning.  Patch by corn.
This commit is contained in:
Eric S. Raymond 2009-04-14 13:45:15 +00:00
parent 9cd76d490c
commit fc9939f360

View file

@ -795,7 +795,7 @@ void play_sound(const std::string& files, channel_group group, unsigned int repe
// Play bell with separate volume setting
void play_bell(const std::string& files)
{
if(preferences::sound_on() && preferences::turn_bell()) {
if (preferences::turn_bell()) {
play_sound_internal(files, SOUND_BELL);
}
}