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:
parent
9cd76d490c
commit
fc9939f360
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue