diff options
author | Thierry Crozat | 2017-11-07 00:04:39 +0000 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:38 +0000 |
commit | 575aef711b5bfaeeb21c4ee1f9ad898a88ff7ce4 (patch) | |
tree | ff0cb06c8765abcdf61f041b91d707cdfcf42bac /engines | |
parent | af226daf81b90f72f6812c20263ed61024b91e35 (diff) | |
download | scummvm-rg350-575aef711b5bfaeeb21c4ee1f9ad898a88ff7ce4.tar.gz scummvm-rg350-575aef711b5bfaeeb21c4ee1f9ad898a88ff7ce4.tar.bz2 scummvm-rg350-575aef711b5bfaeeb21c4ee1f9ad898a88ff7ce4.zip |
SUPERNOVA: Fix updating the palette brightness when the current image has no palette
Diffstat (limited to 'engines')
-rw-r--r-- | engines/supernova/supernova.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |