From 2078024ee41b83f87732d9d4cdceadaba8c79609 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 15 Feb 2011 22:57:34 +0100 Subject: MADE: Revert a little behavior change in setRGBPalette. This was introduced when converting to the new RGB data setPalette call. It should not have caused any troubles, since start is always 0 it seems, but better be sure about this one and keep the original behavior. --- engines/made/screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/made/screen.cpp b/engines/made/screen.cpp index b76ff15851..2649e2bd37 100644 --- a/engines/made/screen.cpp +++ b/engines/made/screen.cpp @@ -218,7 +218,7 @@ void Screen::drawSurface(Graphics::Surface *sourceSurface, int x, int y, int16 f } void Screen::setRGBPalette(byte *palRGB, int start, int count) { - _vm->_system->getPaletteManager()->setPalette(palRGB + start * 3, start, count); + _vm->_system->getPaletteManager()->setPalette(palRGB, start, count); } uint16 Screen::updateChannel(uint16 channelIndex) { -- cgit v1.2.3