Author: sapient
Date: Sun Mar  2 08:16:28 2008
New Revision: 24196

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24196&view=rev
Log:
return an un-commented workaround that I accidentally reverted.

Modified:
    trunk/src/sound.cpp

Modified: trunk/src/sound.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/sound.cpp?rev=24196&r1=24195&r2=24196&view=diff
==============================================================================
--- trunk/src/sound.cpp (original)
+++ trunk/src/sound.cpp Sun Mar  2 08:16:28 2008
@@ -717,7 +717,10 @@
                return false;
        }
        channel_ids[channel] = id;
-       Mix_SetDistance(channel, distance);
+       if(group != SOUND_UI) {
+               //FIXME: why is this (group != SOUND_UI) check necessary?
+               Mix_SetDistance(channel, distance);
+       }
 
        sound_cache_chunk temp_chunk(file); // search the sound cache on this 
key
        it_bgn = sound_cache.begin(), it_end = sound_cache.end();


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

Reply via email to