From a3d0fcea54866b29749bcb67f60e8c28bb207116 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 14 Oct 2005 00:56:52 +0000 Subject: Add language and platform to game description and use that accross the source. That eliminates GF_LANG_DE and GF_MAC_RESOURCES. svn-id: r19071 --- saga/gfx.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'saga/gfx.cpp') diff --git a/saga/gfx.cpp b/saga/gfx.cpp index f50f215355..fb7d84a4ac 100644 --- a/saga/gfx.cpp +++ b/saga/gfx.cpp @@ -213,7 +213,7 @@ void Gfx::setPalette(const PalEntry *pal, bool full) { } // Make 256th color black. See bug #1256368 - if (_vm->getFeatures() & GF_MAC_RESOURCES && !_vm->_scene->isInIntro()) + if ((_vm->getPlatform() == Common::kPlatformMacintosh) && !_vm->_scene->isInIntro()) memset(&_currentPal[255 * 4], 0, 4); _system->setPalette(_currentPal, 0, PAL_ENTRIES); @@ -318,7 +318,7 @@ void Gfx::palToBlack(PalEntry *srcPal, double percent) { } // Make 256th color black. See bug #1256368 - if (_vm->getFeatures() & GF_MAC_RESOURCES && !_vm->_scene->isInIntro()) + if ((_vm->getPlatform() == Common::kPlatformMacintosh) && !_vm->_scene->isInIntro()) memset(&_currentPal[255 * 4], 0, 4); _system->setPalette(_currentPal, 0, PAL_ENTRIES); @@ -383,7 +383,7 @@ void Gfx::blackToPal(PalEntry *srcPal, double percent) { } // Make 256th color black. See bug #1256368 - if (_vm->getFeatures() & GF_MAC_RESOURCES && !_vm->_scene->isInIntro()) + if ((_vm->getPlatform() == Common::kPlatformMacintosh) && !_vm->_scene->isInIntro()) memset(&_currentPal[255 * 4], 0, 4); _system->setPalette(_currentPal, 0, PAL_ENTRIES); -- cgit v1.2.3