aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular
diff options
context:
space:
mode:
authorFilippos Karapetis2014-04-27 20:59:29 +0300
committerFilippos Karapetis2014-04-27 21:20:01 +0300
commit4d159955a1eb79eb625d8e8dcb0c38d7a0a235ec (patch)
treece593001e5c821e2a36073b776c9be4fc9228256 /engines/mads/nebular
parent62f800341dbcab48acafcb1753f86aa51958b69d (diff)
downloadscummvm-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
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r--engines/mads/nebular/nebular_scenes1.cpp4
1 files changed, 4 insertions, 0 deletions
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;