Author: esr
Date: Tue Apr 14 15:45:15 2009
New Revision: 34908

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34908&view=rev
Log:
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.

Modified:
    trunk/src/sound.cpp

Modified: trunk/src/sound.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/sound.cpp?rev=34908&r1=34907&r2=34908&view=diff
==============================================================================
--- trunk/src/sound.cpp (original)
+++ trunk/src/sound.cpp Tue Apr 14 15:45:15 2009
@@ -795,7 +795,7 @@
 // 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);
        }
 }


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to