From 4d159955a1eb79eb625d8e8dcb0c38d7a0a235ec Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 27 Apr 2014 20:59:29 +0300 Subject: 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 --- engines/mads/game.cpp | 4 ++-- 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; -- cgit v1.2.3