aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-07 18:09:06 +0000
committerMartin Kiewitz2009-10-07 18:09:06 +0000
commit0c413530ac6d2c6731cdd15b44cf065a90757835 (patch)
tree6fbcf2e8a98be26e8a02af2873e866586bab8fc0 /engines/sci/engine
parent7f78a7c6beedf1750f859dba89de03d01bf5dd96 (diff)
downloadscummvm-rg350-0c413530ac6d2c6731cdd15b44cf065a90757835.tar.gz
scummvm-rg350-0c413530ac6d2c6731cdd15b44cf065a90757835.tar.bz2
scummvm-rg350-0c413530ac6d2c6731cdd15b44cf065a90757835.zip
SCI: set default EGA palette to 0, if no parameter is actually given us. Fixes lsl2, kq4, sq3, etc.
svn-id: r44743
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 0a0b9e51d7..a8c50fbdc1 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -908,7 +908,7 @@ reg_t kDrawPic(EngineState *s, int argc, reg_t *argv) {
GuiResourceId pictureId = argv[0].toUint16();
uint16 flags = 0;
uint16 style = 1;
- int16 EGApaletteNo = -1;
+ int16 EGApaletteNo = 0; // default needs to be 0
if (argc >= 2)
style = argv[1].toUint16();