QTfrontend/SDLs.cpp
changeset 2192 4763a778c033
parent 2191 20c62f787a4d
child 2210 1cb7118a77dd
--- a/QTfrontend/SDLs.cpp	Wed Jun 24 15:59:32 2009 +0000
+++ b/QTfrontend/SDLs.cpp	Wed Jun 24 19:47:32 2009 +0000
@@ -69,5 +69,5 @@
 
 void SDLInteraction::StopMusic()
 {
-	openal_fadeout(music, 50);
+	if (music >= 0) openal_fadeout(music, 50);
 }