projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fade out and pause music on death and resume on restart of level, fixes #1064
[supertux.git]
/
src
/
object
/
player.cpp
diff --git
a/src/object/player.cpp
b/src/object/player.cpp
index
ce1c8ce
..
93c1094
100644
(file)
--- a/
src/object/player.cpp
+++ b/
src/object/player.cpp
@@
-1526,7
+1526,7
@@
Player::kill(bool completely)
// TODO: need nice way to handle players dying in co-op mode
Sector::current()->effect->fade_out(3.0);
- SoundManager::current()->
stop
_music(3.0);
+ SoundManager::current()->
pause
_music(3.0);
}
}