aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2014-06-05 19:51:28 +0200
committerTorbjörn Andersson2014-06-05 19:51:28 +0200
commit639a2dfd2e704871d7262afb8c249c36d4027e41 (patch)
tree0266fbf9f937b8bfa2b276da91b1b62b73de1dc7
parent10c5547de3fa6c5125a9f969a18e80bf05d4cc2a (diff)
downloadscummvm-rg350-639a2dfd2e704871d7262afb8c249c36d4027e41.tar.gz
scummvm-rg350-639a2dfd2e704871d7262afb8c249c36d4027e41.tar.bz2
scummvm-rg350-639a2dfd2e704871d7262afb8c249c36d4027e41.zip
NEVERHOOD: Fix radio part of bug #6513 ("Some nasty bugs")
This clears the radio music variable when leaving the room. I've discussed with johndoe123 and he says this is what the original does. (You could also get the same effect by clearing it when entering the room.)
-rw-r--r--engines/neverhood/modules/module2700.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/neverhood/modules/module2700.cpp b/engines/neverhood/modules/module2700.cpp
index 2a112435fc..a510c02558 100644
--- a/engines/neverhood/modules/module2700.cpp
+++ b/engines/neverhood/modules/module2700.cpp
@@ -461,6 +461,7 @@ void Module2700::updateScene() {
_vm->_soundMan->deleteMusic(_musicFileHash);
_vm->_soundMan->startMusic(0x04020210, 0, 2);
_vm->_soundMan->deleteSoundGroup(0x42212411);
+ _radioMusicInitialized = false;
createScene(20, 3);
break;
case 22: