diff options
author | Filippos Karapetis | 2009-03-29 01:56:03 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-03-29 01:56:03 +0000 |
commit | cda1bf5ca91f178e9e156c4b0246c55a4264f7c3 (patch) | |
tree | 81e3c01b38e28208108462e66603809830900418 /engines | |
parent | 5c020b9efe575107c6d07af31e1dbe0739db0dd4 (diff) | |
download | scummvm-rg350-cda1bf5ca91f178e9e156c4b0246c55a4264f7c3.tar.gz scummvm-rg350-cda1bf5ca91f178e9e156c4b0246c55a4264f7c3.tar.bz2 scummvm-rg350-cda1bf5ca91f178e9e156c4b0246c55a4264f7c3.zip |
Eco Quest 1 continues after the intro now
svn-id: r39731
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 58c4d68dbe..58287fb66a 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -264,7 +264,7 @@ PaletteEntry get_pic_color(EngineState *s, int color) { if (s->resmgr->_sciVersion < SCI_VERSION_01_VGA) return s->ega_colors[color].visual; - if (color == 255) + if (color == -1 || color == 255) // -1 occurs in Eco Quest 1. Not sure if this is the best approach, but it seems to work return PaletteEntry(255,255,255); else if (color < s->gfx_state->gfxResMan->getColorCount()) return s->gfx_state->gfxResMan->getColor(color); |