diff options
author | Filippos Karapetis | 2014-04-27 20:59:29 +0300 |
---|---|---|
committer | Filippos Karapetis | 2014-04-27 21:20:01 +0300 |
commit | 4d159955a1eb79eb625d8e8dcb0c38d7a0a235ec (patch) | |
tree | ce593001e5c821e2a36073b776c9be4fc9228256 | |
parent | 62f800341dbcab48acafcb1753f86aa51958b69d (diff) | |
download | scummvm-rg350-4d159955a1eb79eb625d8e8dcb0c38d7a0a235ec.tar.gz scummvm-rg350-4d159955a1eb79eb625d8e8dcb0c38d7a0a235ec.tar.bz2 scummvm-rg350-4d159955a1eb79eb625d8e8dcb0c38d7a0a235ec.zip |
MADS: Set Rex to start from scene 101, like the original
There's a temporary hack to skip showing Rex's standing up animation
cause it takes ages to finish
-rw-r--r-- | engines/mads/game.cpp | 4 | ||||
-rw-r--r-- | engines/mads/nebular/nebular_scenes1.cpp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/engines/mads/game.cpp b/engines/mads/game.cpp index d9d1fea0bb..a12f8e8165 100644 --- a/engines/mads/game.cpp +++ b/engines/mads/game.cpp @@ -110,8 +110,8 @@ void Game::run() { break; default: // Copy protection check succeeded - _scene._nextSceneId = 103; - _scene._priorSceneId = 102; + _scene._nextSceneId = 101; + _scene._priorSceneId = -1; break; } } diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp index 923d8c0cd0..54db1d3919 100644 --- a/engines/mads/nebular/nebular_scenes1.cpp +++ b/engines/mads/nebular/nebular_scenes1.cpp @@ -163,6 +163,10 @@ void Scene101::enter() { _scene->_hotspots.activate(0x137, false); _panelOpened = false; + // HACK: set the prior scene to 102 for now when the game starts, to avoid Rex's getting up animation + if (_scene->_priorSceneId == -1) + _scene->_priorSceneId = 102; + if (_scene->_priorSceneId != -1) _globals[kNeedToStandUp] = false; |