diff options
author | johndoe123 | 2011-08-29 10:41:39 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:39:35 +0200 |
commit | b64b0cfac2b066bfdd63e938624d742dc1123365 (patch) | |
tree | cd4455e8e9135c99a7ab6e3577b6132bb2ea716b /engines | |
parent | 28177361bf9406fce53db89b469e912219380b4d (diff) | |
download | scummvm-rg350-b64b0cfac2b066bfdd63e938624d742dc1123365.tar.gz scummvm-rg350-b64b0cfac2b066bfdd63e938624d742dc1123365.tar.bz2 scummvm-rg350-b64b0cfac2b066bfdd63e938624d742dc1123365.zip |
NEVERHOOD: Implement updateScene2201
Diffstat (limited to 'engines')
-rw-r--r-- | engines/neverhood/gamemodule.cpp | 2 | ||||
-rw-r--r-- | engines/neverhood/module2200.cpp | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/engines/neverhood/gamemodule.cpp b/engines/neverhood/gamemodule.cpp index a118e4fb01..e797240e4e 100644 --- a/engines/neverhood/gamemodule.cpp +++ b/engines/neverhood/gamemodule.cpp @@ -444,7 +444,7 @@ void GameModule::updateModule2300() { _childObject = NULL; if (_field20 == 1) { createModule2200(0); - // TODO _childObject->handleUpdate(); + _childObject->handleUpdate(); } else if (_field20 == 2) { createModule1200(0); _childObject->handleUpdate(); diff --git a/engines/neverhood/module2200.cpp b/engines/neverhood/module2200.cpp index 9e4d083b8d..55f4192e7c 100644 --- a/engines/neverhood/module2200.cpp +++ b/engines/neverhood/module2200.cpp @@ -338,12 +338,18 @@ void Module2200::createScene2248(int which) { } void Module2200::updateScene2201() { - // TODO _childObject->handleUpdate(); if (_done) { _done = false; delete _childObject; _childObject = NULL; + if (_field20 == 1) { + createScene2203(0); + } else if (_field20 == 2) { + createScene2202(0); + } else { + _parentModule->sendMessage(0x1009, 0, this); + } } } |