From db1fc75012ae1d6b2864ceae9c7900bd80d06508 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 4 Nov 2006 22:59:56 +0000 Subject: SCUMM cleanup svn-id: r24612 --- engines/scumm/palette.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/scumm/palette.cpp') 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; -- cgit v1.2.3