This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository planetblupi.

commit 315117e7da1d23301dab7fda583666d8845458f9
Author: Mathieu Schroeter <math...@schroetersa.ch>
Date:   Fri Dec 1 10:44:23 2017 +0100

    Fix regression, halt only when suspend
---
 src/sound.cxx | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/sound.cxx b/src/sound.cxx
index bfab4e1..6e0790b 100644
--- a/src/sound.cxx
+++ b/src/sound.cxx
@@ -87,7 +87,6 @@ CSound::~CSound ()
 
   if (m_pMusic)
   {
-    Mix_HaltMusic ();
     Mix_FreeMusic (m_pMusic);
     m_pMusic = nullptr;
   }
@@ -338,10 +337,7 @@ CSound::PlayMusic (const std::string & lpszMIDIFilename)
   path += lpszMIDIFilename;
 
   if (m_pMusic)
-  {
-    Mix_HaltMusic ();
     Mix_FreeMusic (m_pMusic);
-  }
 
   m_pMusic = Mix_LoadMUS (path.c_str ());
   if (!m_pMusic)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/planetblupi.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to