diff options
author | Martin Kiewitz | 2010-07-10 12:19:32 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-10 12:19:32 +0000 |
commit | f38348b82e3e6781ae2a166e951fc83f11f8d618 (patch) | |
tree | 37f0ec42b1aa398191ba6590976901bafb0b023c /engines/sci/graphics | |
parent | cfc93a7e4dff46e1bca4656c2976c1f3c1e68a87 (diff) | |
download | scummvm-rg350-f38348b82e3e6781ae2a166e951fc83f11f8d618.tar.gz scummvm-rg350-f38348b82e3e6781ae2a166e951fc83f11f8d618.tar.bz2 scummvm-rg350-f38348b82e3e6781ae2a166e951fc83f11f8d618.zip |
SCI: adding kPalette signatures, fixing 3 kPalVary calls, fixing kAssertPalette (we used the wrong parameter number before, maybe the issues were caused by this)
svn-id: r50780
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/palette.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/graphics/palette.cpp b/engines/sci/graphics/palette.cpp index 9c64c21743..b85281e9c4 100644 --- a/engines/sci/graphics/palette.cpp +++ b/engines/sci/graphics/palette.cpp @@ -482,8 +482,9 @@ void GfxPalette::kernelAnimateSet() { void GfxPalette::kernelAssertPalette(GuiResourceId resourceId) { // Sometimes invalid viewIds are asked for, ignore those (e.g. qfg1vga) - if (!_resMan->testResource(ResourceId(kResourceTypeView, resourceId))) - return; + //if (!_resMan->testResource(ResourceId(kResourceTypeView, resourceId))) + // return; + // maybe we took the wrong parameter before, if this causes invalid view again, enable to commented out code again GfxView *view = g_sci->_gfxCache->getView(resourceId); Palette *viewPalette = view->getPalette(); |