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
This commit is contained in:
Filippos Karapetis 2014-04-27 20:59:29 +03:00
parent 62f800341d
commit 4d159955a1
2 changed files with 6 additions and 2 deletions

View File

@ -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;
}
}

View File

@ -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;