From dd6821cbcb3ed67086ce69e01ebf9d1274768ffd Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 26 May 2008 11:03:21 +0000 Subject: Cleanup svn-id: r32280 --- engines/saga/rscfile.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'engines/saga') 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) -- cgit v1.2.3