QTfrontend/SDLs.cpp
changeset 2494 1e10a47cabea
parent 2443 fececcbc2189
child 2515 51d3f4b6293a
--- a/QTfrontend/SDLs.cpp	Fri Oct 16 15:56:42 2009 +0000
+++ b/QTfrontend/SDLs.cpp	Fri Oct 16 16:42:51 2009 +0000
@@ -171,11 +171,12 @@
 	}
 	oalb_playsound(music, 1);
 	oalb_setvolume(music, 60);
+	oalb_fadein(music, 50);	
 }
 
 void SDLInteraction::StopMusic()
 {
-//	if (music >= 0) openal_fadeout(music, 40);
+	if (music >= 0) oalb_fadeout(music, 20);
 	oalb_stopsound(music);
 }