SCI: Fix regression in previous commit (QFG2).

svn-id: r43450
This commit is contained in:
Walter van Niftrik 2009-08-16 19:19:26 +00:00
parent 00f4794c0a
commit 83e541900d
2 changed files with 3 additions and 4 deletions

View File

@ -532,8 +532,7 @@ gfxr_view_t *GfxResManager::getView(int nr, int *loop, int *cel, int palette) {
int resid = GFXR_RES_ID(GFX_RESOURCE_TYPE_VIEW, nr);
if (!_resManager->isVGA()) {
// TODO: Check which versions this applies to
int pal = (_version < SCI_VERSION_1_EARLY) ? -1 : palette;
int pal = (_version <= SCI_VERSION_01) ? -1 : palette;
view = getEGAView(resid, viewRes->data, viewRes->size, pal);
} else {
if (_version < SCI_VERSION_1_1)

View File

@ -52,8 +52,8 @@ enum SciVersion {
SCI_VERSION_0_LATE, // KQ4, LSL2, LSL3, SQ3 etc
SCI_VERSION_01, // KQ1 and multilingual games (S.old.*)
SCI_VERSION_1_EGA, // EGA with parser, QFG2
SCI_VERSION_1_EARLY, // KQ5, LSL1. (EGA/VGA)
SCI_VERSION_1_LATE, // ECO1, LSL5. (EGA/VGA)
SCI_VERSION_1_EARLY, // KQ5. (EGA/VGA)
SCI_VERSION_1_LATE, // ECO1, LSL1, LSL5. (EGA/VGA)
SCI_VERSION_1_1, // KQ6, ECO2
SCI_VERSION_32 // GK
};