From 3bcc8778012426d273ce88e653a3e4f97351a2e1 Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Tue, 17 Mar 2015 17:42:40 +0100 Subject: [PATCH] Stop music, so that its handle can be freed, before playing other music on sector change --- src/supertux/sector.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/supertux/sector.cpp b/src/supertux/sector.cpp index 351fe3123..7573a9592 100644 --- a/src/supertux/sector.cpp +++ b/src/supertux/sector.cpp @@ -1506,6 +1506,7 @@ Sector::resume_music() } else { + SoundManager::current()->stop_music(); SoundManager::current()->play_music(music, true); } } -- 2.11.0