diff options
Diffstat (limited to 'engines/sci/graphics/gui.cpp')
-rw-r--r-- | engines/sci/graphics/gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/graphics/gui.cpp b/engines/sci/graphics/gui.cpp index 388598d5ba..31716979a9 100644 --- a/engines/sci/graphics/gui.cpp +++ b/engines/sci/graphics/gui.cpp @@ -566,11 +566,11 @@ int16 SciGui::picNotValid(int16 newPicNotValid) { } -void SciGui::paletteSet(GuiResourceId resourceId, uint16 flags) { +void SciGui::paletteSet(GuiResourceId resourceId, bool force) { // we are also called on EGA games as well, this doesnt make sense. doing this would actually break the system EGA palette if (!_s->resMan->isVGA()) return; - _palette->setFromResource(resourceId, flags); + _palette->setFromResource(resourceId, force); } void SciGui::paletteSetFlag(uint16 fromColor, uint16 toColor, uint16 flag) { @@ -890,7 +890,7 @@ void SciGui::stopPalVary() { _palVaryId = -1; // invalidate the target palette // HACK: just set the target palette - _palette->setFromResource(_palVaryId, 2); + _palette->setFromResource(_palVaryId, true); } void SciGui::palVaryCallback(void *refCon) { |