aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/palette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/palette.cpp')
-rw-r--r--engines/mads/palette.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/palette.cpp b/engines/mads/palette.cpp
index d9a46a93ef..51de2768ed 100644
--- a/engines/mads/palette.cpp
+++ b/engines/mads/palette.cpp
@@ -523,12 +523,12 @@ void Palette::unlock() {
_lockFl = false;
}
-void Palette::refreshHighColors() {
+void Palette::refreshSceneColors() {
int val = 18;
if (_vm->_game->_scene._cyclingActive)
val += _vm->_game->_scene._totalCycleColors;
- setPalette(_mainPalette, val, 256 - val);
+ setPalette(_mainPalette + (val * 3), val, 256 - val);
}
} // End of namespace MADS