diff options
author | Eugene Sandulenko | 2005-08-13 19:41:11 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-08-13 19:41:11 +0000 |
commit | 8c4494578e8273841473934facb68e6476ee16ac (patch) | |
tree | febcdc982e120914997bdb45bffb745751f39c4a /saga/gfx.cpp | |
parent | 91a96ef5cdd9c71d4434768d87d0a46c34e6d33c (diff) | |
download | scummvm-rg350-8c4494578e8273841473934facb68e6476ee16ac.tar.gz scummvm-rg350-8c4494578e8273841473934facb68e6476ee16ac.tar.bz2 scummvm-rg350-8c4494578e8273841473934facb68e6476ee16ac.zip |
Fix bug #1258537 "ITE: Introduction text is black"
svn-id: r18677
Diffstat (limited to 'saga/gfx.cpp')
-rw-r--r-- | saga/gfx.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/saga/gfx.cpp b/saga/gfx.cpp index 8f3070fe50..ca8f566e76 100644 --- a/saga/gfx.cpp +++ b/saga/gfx.cpp @@ -26,6 +26,7 @@ #include "saga/saga.h" #include "saga/gfx.h" #include "saga/interface.h" +#include "saga/scene.h" #include "common/system.h" @@ -175,7 +176,7 @@ void Gfx::setPalette(PalEntry *pal) { } // Make 256th color black. See bug #1256368 - if (_vm->getFeatures() & GF_MAC_RESOURCES) + if (_vm->getFeatures() & GF_MAC_RESOURCES && !_vm->_scene->isInIntro()) memset(&_currentPal[255 * 4], 0, 4); _system->setPalette(_currentPal, 0, PAL_ENTRIES); @@ -238,7 +239,7 @@ void Gfx::palToBlack(PalEntry *src_pal, double percent) { } // Make 256th color black. See bug #1256368 - if (_vm->getFeatures() & GF_MAC_RESOURCES) + if (_vm->getFeatures() & GF_MAC_RESOURCES && !_vm->_scene->isInIntro()) memset(&_currentPal[255 * 4], 0, 4); _system->setPalette(_currentPal, 0, PAL_ENTRIES); @@ -312,7 +313,7 @@ void Gfx::blackToPal(PalEntry *src_pal, double percent) { } // Make 256th color black. See bug #1256368 - if (_vm->getFeatures() & GF_MAC_RESOURCES) + if (_vm->getFeatures() & GF_MAC_RESOURCES && !_vm->_scene->isInIntro()) memset(&_currentPal[255 * 4], 0, 4); _system->setPalette(_currentPal, 0, PAL_ENTRIES); |