diff options
author | Paul Gilbert | 2013-07-30 09:00:06 -0400 |
---|---|---|
committer | Paul Gilbert | 2013-07-30 09:00:06 -0400 |
commit | 5080f5dfcdc3b9543789f9faa4cce6bb42bb7b62 (patch) | |
tree | 8ff4d4b1b658dde2fabd814db1c6a792c65625a4 /engines/tsage | |
parent | 25974eddb882adc818a9e93ced022253f72b31ee (diff) | |
download | scummvm-rg350-5080f5dfcdc3b9543789f9faa4cce6bb42bb7b62.tar.gz scummvm-rg350-5080f5dfcdc3b9543789f9faa4cce6bb42bb7b62.tar.bz2 scummvm-rg350-5080f5dfcdc3b9543789f9faa4cce6bb42bb7b62.zip |
TSAGE: Scene fixes for R2R Medbay
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes0.cpp | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes0.cpp b/engines/tsage/ringworld2/ringworld2_scenes0.cpp index fd3b01c13a..9cfa53ed22 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes0.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes0.cpp @@ -6351,12 +6351,26 @@ bool Scene800::DeviceSlot::startAction(CursorType action, Event &event) { break; R2_GLOBALS._player.disableControl(); - scene->_reader.postInit(); + _lookLineNum = 27; + scene->_sceneMode = 809; if (R2_INVENTORY.getObjectScene(R2_OPTICAL_FIBRE) == 800) - scene->setAction(&scene->_sequenceManager1, scene, 814, &R2_GLOBALS._player, &scene->_reader, &scene->_opticalFibre, NULL); + scene->setAction(&scene->_sequenceManager1, scene, 815, &R2_GLOBALS._player, &scene->_reader, &scene->_opticalFibre, NULL); else - scene->setAction(&scene->_sequenceManager1, scene, 804, &R2_GLOBALS._player, &scene->_reader, NULL); + scene->setAction(&scene->_sequenceManager1, scene, 809, &R2_GLOBALS._player, &scene->_reader, NULL); + return true; + case R2_READER: + R2_GLOBALS._player.disableControl(); + scene->_reader.postInit(); + scene->_sceneMode = 804; + + if (R2_INVENTORY.getObjectScene(R2_OPTICAL_FIBRE) == 800) { + scene->setAction(&scene->_sequenceManager1, scene, 814, &R2_GLOBALS._player, + &scene->_reader, &scene->_opticalFibre, NULL); + } else { + scene->setAction(&scene->_sequenceManager1, scene, 804, &R2_GLOBALS._player, + &scene->_reader, NULL); + } return true; default: break; |