[Scummvm-cvs-logs] SF.net SVN: scummvm:[43251] scummvm/trunk/engines/kyra/screen_lok.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Tue Aug 11 04:12:10 CEST 2009


Revision: 43251
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43251&view=rev
Author:   lordhoto
Date:     2009-08-11 02:12:09 +0000 (Tue, 11 Aug 2009)

Log Message:
-----------
Disable "Screen_LoK::fadeSpecialPalette" for Kyrandia 1 Amiga, like the original does.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/screen_lok.cpp

Modified: scummvm/trunk/engines/kyra/screen_lok.cpp
===================================================================
--- scummvm/trunk/engines/kyra/screen_lok.cpp	2009-08-11 02:04:17 UTC (rev 43250)
+++ scummvm/trunk/engines/kyra/screen_lok.cpp	2009-08-11 02:12:09 UTC (rev 43251)
@@ -80,6 +80,9 @@
 }
 
 void Screen_LoK::fadeSpecialPalette(int palIndex, int startIndex, int size, int fadeTime) {
+	if (_vm->gameFlags().platform == Common::kPlatformAmiga)
+		return;
+
 	assert(_vm->palTable1()[palIndex]);
 
 	Palette tempPal(getPalette(0).getNumColors());


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list