From 575aef711b5bfaeeb21c4ee1f9ad898a88ff7ce4 Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Tue, 7 Nov 2017 00:04:39 +0000 Subject: SUPERNOVA: Fix updating the palette brightness when the current image has no palette --- engines/supernova/supernova.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/supernova') diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp index 3c75e6e9cd..342709bb09 100644 --- a/engines/supernova/supernova.cpp +++ b/engines/supernova/supernova.cpp @@ -677,7 +677,7 @@ void SupernovaEngine::paletteBrightness() { if (_currentImage->getPalette()) { imagePalette = _currentImage->getPalette(); } else { - imagePalette = palette; + imagePalette = palette + 48; } palette[i + 48] = (imagePalette[i] * _brightness) >> 8; } -- cgit v1.2.3