projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7310976
)
Stop music, so that its handle can be freed, before playing other music on sector...
author
Tobias Markus
<tobbi@mozilla-uk.org>
Tue, 17 Mar 2015 16:42:40 +0000
(17:42 +0100)
committer
Tobias Markus
<tobbi@mozilla-uk.org>
Tue, 17 Mar 2015 16:42:40 +0000
(17:42 +0100)
src/supertux/sector.cpp
patch
|
blob
|
history
diff --git
a/src/supertux/sector.cpp
b/src/supertux/sector.cpp
index
351fe31
..
7573a95
100644
(file)
--- 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);
}
}