diff options
author | Filippos Karapetis | 2012-03-04 01:11:50 +0200 |
---|---|---|
committer | Filippos Karapetis | 2012-03-04 01:11:50 +0200 |
commit | d41d7e5f3688b3d83323d9240fe744ba8d339307 (patch) | |
tree | 629ad183ecde57f0075a1d4cb9517be273abd147 /engines/dreamweb/vgagrafx.cpp | |
parent | 2ade3b12be7135111815f066e18b16b0a4984c3b (diff) | |
download | scummvm-rg350-d41d7e5f3688b3d83323d9240fe744ba8d339307.tar.gz scummvm-rg350-d41d7e5f3688b3d83323d9240fe744ba8d339307.tar.bz2 scummvm-rg350-d41d7e5f3688b3d83323d9240fe744ba8d339307.zip |
DREAMWEB: Clean up the palette brightness code
Diffstat (limited to 'engines/dreamweb/vgagrafx.cpp')
-rw-r--r-- | engines/dreamweb/vgagrafx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dreamweb/vgagrafx.cpp b/engines/dreamweb/vgagrafx.cpp index be7d210999..a66f156a1d 100644 --- a/engines/dreamweb/vgagrafx.cpp +++ b/engines/dreamweb/vgagrafx.cpp @@ -417,7 +417,7 @@ void DreamWebEngine::loadPalFromIFF() { uint8 *dst = _mainPal; for (size_t i = 0; i < 256*3; ++i) { uint8 c = src[i] / 4; - if (_brightness == 1) { + if (_brightPalette) { if (c) { c = c + c / 2 + c / 4; if (c > 63) |