[planetblupi] 08/19: Fix regression, halt only when suspend
Didier Raboud
odyx at moszumanska.debian.org
Fri Dec 8 09:03:55 UTC 2017
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 <mathieu at 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
More information about the Pkg-games-commits
mailing list