diff options
author | johndoe123 | 2014-01-14 19:55:14 +0100 |
---|---|---|
committer | johndoe123 | 2014-01-14 19:55:14 +0100 |
commit | a5b617a0a6bf97367c5995478e4cf0aa639a8d1e (patch) | |
tree | 106b4969e35af411d38e2b70f35a0d4421afe131 /engines/neverhood | |
parent | be55f3277c9c3123dae9fc24750348b837101262 (diff) | |
download | scummvm-rg350-a5b617a0a6bf97367c5995478e4cf0aa639a8d1e.tar.gz scummvm-rg350-a5b617a0a6bf97367c5995478e4cf0aa639a8d1e.tar.bz2 scummvm-rg350-a5b617a0a6bf97367c5995478e4cf0aa639a8d1e.zip |
NEVERHOOD: Fix for bug #6481: 'NEVERHOOD: Wrong walk sound in navigation scene'
Diffstat (limited to 'engines/neverhood')
-rw-r--r-- | engines/neverhood/modules/module1100.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/neverhood/modules/module1100.cpp b/engines/neverhood/modules/module1100.cpp index e7dd6e4210..e40508e502 100644 --- a/engines/neverhood/modules/module1100.cpp +++ b/engines/neverhood/modules/module1100.cpp @@ -136,15 +136,20 @@ void Module1100::updateScene() { switch (_sceneNum) { case 0: _countdown = 0; - _vm->_soundMan->playTwoSounds(0x0002C818, 0x48498E46, 0x50399F64, 0); _vm->_soundMan->setSoundVolume(0x48498E46, 65); _vm->_soundMan->setSoundVolume(0x50399F64, 65); - if (_moduleResult == 0) + if (_moduleResult == 0) { + _vm->_soundMan->playTwoSounds(0x0002C818, 0x48498E46, 0x50399F64, 0); createScene(1, 0); - else if (_moduleResult == 1) + } else if (_moduleResult == 1) { + /* NOTE This fixes a bug in the original where the "tunnel" footstep + sounds are played instead of the correct footsteps. */ + _vm->_soundMan->playTwoSounds(0x0002C818, 0x41861371, 0x43A2507F, 0); createScene(8, 0); + } break; case 1: + _countdown = 0; _vm->_soundMan->playTwoSounds(0x0002C818, 0x41861371, 0x43A2507F, 0); if (getGlobalVar(V_ROBOT_HIT)) { if (_moduleResult == 0) |