aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-26 22:45:52 +0000
committerMartin Kiewitz2010-01-26 22:45:52 +0000
commite0d05a482ce93e029888ef388dfb1b90b438f2ee (patch)
tree2de753ab399d0ae63c985d53ee256dd1f1429042 /engines/sci/engine
parent935ded3615bda21dc7e100b0e1f4b40793c518d4 (diff)
downloadscummvm-rg350-e0d05a482ce93e029888ef388dfb1b90b438f2ee.tar.gz
scummvm-rg350-e0d05a482ce93e029888ef388dfb1b90b438f2ee.tar.bz2
scummvm-rg350-e0d05a482ce93e029888ef388dfb1b90b438f2ee.zip
SCI: changed flags (uint16) to force (bool) for set/merge palette methods
svn-id: r47578
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kgraphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 474b12d0d5..d58809f578 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -524,8 +524,8 @@ reg_t kPalette(EngineState *s, int argc, reg_t *argv) {
case 1: // Set resource palette
if (argc==3) {
GuiResourceId resourceId = argv[1].toUint16();
- uint16 flags = argv[2].toUint16();
- s->_gui->paletteSet(resourceId, flags);
+ bool force = argv[2].toUint16() == 2 ? true : false;
+ s->_gui->paletteSet(resourceId, force);
}
break;
case 2: { // Set palette-flag(s)