diff options
-rw-r--r-- | engines/sci/graphics/palette.cpp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/engines/sci/graphics/palette.cpp b/engines/sci/graphics/palette.cpp index b0969ceb74..385c3f4e3e 100644 --- a/engines/sci/graphics/palette.cpp +++ b/engines/sci/graphics/palette.cpp @@ -66,14 +66,16 @@ GfxPalette::GfxPalette(ResourceManager *resMan, GfxScreen *screen) // It's not using the SCI1.1 palette merging (copying over all the colors) but the real merging // If we use the copying over, we will get issues because some views have marked all colors as being used // and those will overwrite the current palette in that case - // Quest for Glory 3 demo and police quest 1 vga behave the same interpreter wise and all have glitches, if we don't - // switch back - if (g_sci->getGameId() == "laurabow2" && (g_sci->isDemo())) - _alwaysForceRealMerge = true; - else if (g_sci->getGameId() == "qfg3" && (g_sci->isDemo())) - _alwaysForceRealMerge = true; - else if (g_sci->getGameId() == "pq1sci") - _alwaysForceRealMerge = true; + // Quest for Glory 3 demo, Eco Quest 1 demo and police quest 1 vga behave the same interpreter wise and all have glitches, + // if we don't switch back + Common::String gameId = g_sci->getGameId(); + if (g_sci->isDemo()) { + if (gameId == "laurabow2" || gameId == "qfg3" || gameId == "ecoquest") + _alwaysForceRealMerge = true; + } else { + if (gameId == "pq1sci") + _alwaysForceRealMerge = true; + } palVaryInit(); } |