aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood
diff options
context:
space:
mode:
authorjohndoe1232013-06-25 22:49:01 +0200
committerjohndoe1232013-06-25 22:49:01 +0200
commit0634f516968a2869895c942cb17859e738e4d802 (patch)
tree5bf4f0a053364788010e26655487b49e97d87290 /engines/neverhood
parent9878c89b9753227bc73cd5914a69e6f817c302e8 (diff)
downloadscummvm-rg350-0634f516968a2869895c942cb17859e738e4d802.tar.gz
scummvm-rg350-0634f516968a2869895c942cb17859e738e4d802.tar.bz2
scummvm-rg350-0634f516968a2869895c942cb17859e738e4d802.zip
NEVERHOOD: Fix bug in Module 1100, scene 2 which made the "Klayman, up here" scene was unreachable. Sound bug still present, though.
Diffstat (limited to 'engines/neverhood')
-rw-r--r--engines/neverhood/modules/module1100.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/neverhood/modules/module1100.cpp b/engines/neverhood/modules/module1100.cpp
index 0c09ed5242..dbd8c60210 100644
--- a/engines/neverhood/modules/module1100.cpp
+++ b/engines/neverhood/modules/module1100.cpp
@@ -64,6 +64,7 @@ Module1100::~Module1100() {
void Module1100::createScene(int sceneNum, int which) {
static const uint32 kSmackerFileHashList06[] = {0x10880805, 0x1088081D, 0};
static const uint32 kSmackerFileHashList07[] = {0x00290321, 0x01881000, 0};
+ static const byte kNavigationTypes02[] = {1, 0, 4, 1};
debug(1, "Module1100::createScene(%d, %d)", sceneNum, which);
_sceneNum = sceneNum;
switch (_sceneNum) {
@@ -80,9 +81,9 @@ void Module1100::createScene(int sceneNum, int which) {
case 2:
_vm->gameState().sceneNum = 2;
if (getGlobalVar(V_ROBOT_TARGET)) {
- createNavigationScene(0x004B84F0, which);
+ createNavigationScene(0x004B84F0, which, kNavigationTypes02);
} else {
- createNavigationScene(0x004B8490, which);
+ createNavigationScene(0x004B8490, which, kNavigationTypes02);
}
break;
case 3: