aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/gamemodule.cpp
diff options
context:
space:
mode:
authorjohndoe1232014-01-06 16:11:56 +0100
committerjohndoe1232014-01-06 16:11:56 +0100
commit6cfa27c2d562caf30d7a9b83ecb6b337089b9bfd (patch)
tree01c5df23de63bd4766887d06fb1ff51d6ebcee33 /engines/neverhood/gamemodule.cpp
parentbb4a6c28996511b9c57465807276d8d8fb624cd4 (diff)
downloadscummvm-rg350-6cfa27c2d562caf30d7a9b83ecb6b337089b9bfd.tar.gz
scummvm-rg350-6cfa27c2d562caf30d7a9b83ecb6b337089b9bfd.tar.bz2
scummvm-rg350-6cfa27c2d562caf30d7a9b83ecb6b337089b9bfd.zip
NEVERHOOD: Fix bug #6478 "NEVERHOOD: No footstep sounds"
Diffstat (limited to 'engines/neverhood/gamemodule.cpp')
-rw-r--r--engines/neverhood/gamemodule.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/neverhood/gamemodule.cpp b/engines/neverhood/gamemodule.cpp
index 12703d9f39..5e9981caa6 100644
--- a/engines/neverhood/gamemodule.cpp
+++ b/engines/neverhood/gamemodule.cpp
@@ -79,7 +79,7 @@ GameModule::GameModule(NeverhoodEngine *vm)
_mainMenuRequested(false) {
// Other initializations moved to actual engine class
- _vm->_soundMan->playSoundThree(0x002D0031, 0x8861079);
+ _vm->_soundMan->playSoundThree(0x002D0031, 0x08861079);
SetMessageHandler(&GameModule::handleMessage);
}
@@ -427,6 +427,8 @@ void GameModule::checkRequests() {
_vm->_audioResourceMan->stopAllSounds();
_vm->_soundMan->stopAllMusic();
_vm->_soundMan->stopAllSounds();
+ // Reinsert turning sound because SoundMan::stopAllSounds() removes it
+ _vm->_soundMan->playSoundThree(0x002D0031, 0x08861079);
delete _childObject;
delete _prevChildObject;
_childObject = NULL;