diff options
author | Filippos Karapetis | 2008-05-26 11:03:21 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-05-26 11:03:21 +0000 |
commit | dd6821cbcb3ed67086ce69e01ebf9d1274768ffd (patch) | |
tree | d6c6a7282315573c33f257ca485b5aee987c05bb /engines | |
parent | aa02a6758a8c5933aca3d80b5d1c3a2af5c7f300 (diff) | |
download | scummvm-rg350-dd6821cbcb3ed67086ce69e01ebf9d1274768ffd.tar.gz scummvm-rg350-dd6821cbcb3ed67086ce69e01ebf9d1274768ffd.tar.bz2 scummvm-rg350-dd6821cbcb3ed67086ce69e01ebf9d1274768ffd.zip |
Cleanup
svn-id: r32280
Diffstat (limited to 'engines')
-rw-r--r-- | engines/saga/rscfile.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/saga/rscfile.cpp b/engines/saga/rscfile.cpp index bd5bfdfa1d..b7d4f4f1bd 100644 --- a/engines/saga/rscfile.cpp +++ b/engines/saga/rscfile.cpp @@ -658,12 +658,8 @@ static int metaResourceTable[] = { 0, 326, 517, 677, 805, 968, 1165, 0, 1271 }; static int metaResourceTableDemo[] = { 0, 0, 0, 0, 0, 0, 0, 285, 0 }; void Resource::loadGlobalResources(int chapter, int actorsEntrance) { - if (chapter < 0) { - if (_vm->getGameId() != GID_IHNM_DEMO) - chapter = 8; - else - chapter = 7; - } + if (chapter < 0) + chapter = (_vm->getGameId() != GID_IHNM_DEMO) ? 8 : 7; // TODO //if (module.voiceLUT) |