aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/palette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/palette.cpp')
-rw-r--r--engines/scumm/palette.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/scumm/palette.cpp b/engines/scumm/palette.cpp
index aeb4aa0bfc..b7149ceeb3 100644
--- a/engines/scumm/palette.cpp
+++ b/engines/scumm/palette.cpp
@@ -905,7 +905,10 @@ void ScummEngine::setPalColor(int idx, int r, int g, int b) {
setDirtyColors(idx, idx);
}
-void ScummEngine::setPalette(int palindex) {
+void ScummEngine::setCurrentPalette(int palindex) {
+ // TODO: This method could almost be moved to ScummEngin_v6, the only
+ // problem is that it is called by ScummEngine::resetRoomSubBlocks().
+ // But it should be possible to get rid of that, too (with some care).
const byte *pals;
_curPalIndex = palindex;