diff options
author | Strangerke | 2014-01-03 07:47:00 +0100 |
---|---|---|
committer | Strangerke | 2014-01-03 07:47:00 +0100 |
commit | e73ee457179330cfbc3795a155a56b448afc0170 (patch) | |
tree | 0636a8bbad5b79bd643c576553ca3de7572d11a7 /engines | |
parent | e7b0316d8b6f3813e6a9da83e330ade55f8d1cda (diff) | |
download | scummvm-rg350-e73ee457179330cfbc3795a155a56b448afc0170.tar.gz scummvm-rg350-e73ee457179330cfbc3795a155a56b448afc0170.tar.bz2 scummvm-rg350-e73ee457179330cfbc3795a155a56b448afc0170.zip |
TSAGE: R2R Demo - Add some more code specifically for R2R Demo
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes0.cpp | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes0.cpp b/engines/tsage/ringworld2/ringworld2_scenes0.cpp index 7fdc1dc8a7..3a724628dd 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes0.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes0.cpp @@ -3550,7 +3550,11 @@ void Scene300::signal() { R2_GLOBALS.setFlag(40); break; case 6: - R2_GLOBALS._sceneManager.changeScene(1000); + if (g_vm->getFeatures() & GF_DEMO) { + R2_GLOBALS.setFlag(85); + R2_GLOBALS._sceneManager.changeScene(205); + } else + R2_GLOBALS._sceneManager.changeScene(1000); break; default: break; @@ -3611,8 +3615,14 @@ void Scene300::signal() { case 16: if (_stripManager._exitMode == 1) { - R2_GLOBALS._player.setAction(NULL); - R2_GLOBALS._sceneManager.changeScene(1000); + if (g_vm->getFeatures() & GF_DEMO) { + R2_GLOBALS._player.setAction(NULL); + R2_GLOBALS.setFlag(85); + R2_GLOBALS._sceneManager.changeScene(205); + } else { + R2_GLOBALS._player.setAction(NULL); + R2_GLOBALS._sceneManager.changeScene(1000); + } } else { R2_GLOBALS._player.setAction(&_action1); R2_GLOBALS._player.enableControl(CURSOR_TALK); |