diff options
author | Filippos Karapetis | 2013-09-17 03:25:36 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-09-17 03:27:11 +0300 |
commit | c1226b7d4a305dba7b62b046be4d3fe728a8209d (patch) | |
tree | e46dfbeeb0b38cb573f694ce1279b8ee8bc9558b /engines/neverhood/gamemodule.cpp | |
parent | 5fa6bb238d26b661551e45508b9c3902c85d6d01 (diff) | |
download | scummvm-rg350-c1226b7d4a305dba7b62b046be4d3fe728a8209d.tar.gz scummvm-rg350-c1226b7d4a305dba7b62b046be4d3fe728a8209d.tar.bz2 scummvm-rg350-c1226b7d4a305dba7b62b046be4d3fe728a8209d.zip |
NEVERHOOD: Split the code that stops all music and sound effects
Diffstat (limited to 'engines/neverhood/gamemodule.cpp')
-rw-r--r-- | engines/neverhood/gamemodule.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/neverhood/gamemodule.cpp b/engines/neverhood/gamemodule.cpp index 47cc818fea..50c7c503d3 100644 --- a/engines/neverhood/gamemodule.cpp +++ b/engines/neverhood/gamemodule.cpp @@ -411,7 +411,9 @@ void GameModule::checkRequests() { } if (_restoreGameRequested) { _restoreGameRequested = false; + _vm->_audioResourceMan->stopAllMusic(); _vm->_audioResourceMan->stopAllSounds(); + _vm->_soundMan->stopAllMusic(); _vm->_soundMan->stopAllSounds(); delete _childObject; delete _prevChildObject; |