diff options
author | Filippos Karapetis | 2007-08-26 00:45:07 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-08-26 00:45:07 +0000 |
commit | b7f7c8683f219d2e1b613b839d41d07c123a5bec (patch) | |
tree | f2ab9d161b7c4cc618d01e5830860b4c504769da /engines/saga | |
parent | 40ec12f64e95ed324003d032cbea9ca78717aa59 (diff) | |
download | scummvm-rg350-b7f7c8683f219d2e1b613b839d41d07c123a5bec.tar.gz scummvm-rg350-b7f7c8683f219d2e1b613b839d41d07c123a5bec.tar.bz2 scummvm-rg350-b7f7c8683f219d2e1b613b839d41d07c123a5bec.zip |
Games saved in the character selection screen should work correctly now
svn-id: r28739
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/saveload.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/saga/saveload.cpp b/engines/saga/saveload.cpp index a0154c0fd2..434cfffda1 100644 --- a/engines/saga/saveload.cpp +++ b/engines/saga/saveload.cpp @@ -258,7 +258,6 @@ void SagaEngine::load(const char *fileName) { // Surrounding scene sceneNumber = in->readSint32LE(); - // Protagonist if (getGameType() != GType_ITE) { int currentChapter = _scene->currentChapterNumber(); _scene->setChapterNumber(in->readSint32LE()); @@ -268,6 +267,8 @@ void SagaEngine::load(const char *fileName) { _scene->setCurrentMusicTrack(in->readSint32LE()); _scene->setCurrentMusicRepeat(in->readSint32LE()); _music->stop(); + if (_scene->currentChapterNumber() == 8) + _interface->setMode(kPanelChapterSelection); if (getGameId() != GID_IHNM_DEMO) _music->play(_music->_songTable[_scene->getCurrentMusicTrack()], _scene->getCurrentMusicRepeat() ? MUSIC_LOOP : MUSIC_NORMAL); else |