diff options
author | Torbjörn Andersson | 2015-07-19 20:32:06 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2015-07-19 20:32:06 +0200 |
commit | c06bf58217a331b7563ecda4484dfb016d3087f8 (patch) | |
tree | fdc36edd2ad305b92f95cd4a927f9b56dbae115c /engines/made | |
parent | 0fbf90d14c531a9c0ff5490f6e81eeb3008e7cb6 (diff) | |
download | scummvm-rg350-c06bf58217a331b7563ecda4484dfb016d3087f8.tar.gz scummvm-rg350-c06bf58217a331b7563ecda4484dfb016d3087f8.tar.bz2 scummvm-rg350-c06bf58217a331b7563ecda4484dfb016d3087f8.zip |
MADE: Fix palette fade in/out
The final palette wasn't set so, for instance, at the beginning of
the RTZ intro the Infocom logo wouldn't completely fade to back. I
think this is the correcet fix for that.
Diffstat (limited to 'engines/made')
-rw-r--r-- | engines/made/screenfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/made/screenfx.cpp b/engines/made/screenfx.cpp index 3f98cbb9ab..bae59f05cc 100644 --- a/engines/made/screenfx.cpp +++ b/engines/made/screenfx.cpp @@ -201,7 +201,7 @@ void ScreenEffects::startBlendedPalette(byte *palette, byte *newPalette, int col } void ScreenEffects::stepBlendedPalette() { - if (_blendedPaletteStatus._active && _blendedPaletteStatus._value < _blendedPaletteStatus._maxValue) { + if (_blendedPaletteStatus._active && _blendedPaletteStatus._value <= _blendedPaletteStatus._maxValue) { setBlendedPalette(_blendedPaletteStatus._palette, _blendedPaletteStatus._newPalette, _blendedPaletteStatus._colorCount, _blendedPaletteStatus._value, _blendedPaletteStatus._maxValue); if (_blendedPaletteStatus._value == _blendedPaletteStatus._maxValue) |