[Scummvm-cvs-logs] SF.net SVN: scummvm: [28335] scummvm/trunk/engines/parallaction/ callables_ns.cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Mon Jul 30 21:05:50 CEST 2007


Revision: 28335
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28335&view=rev
Author:   peres001
Date:     2007-07-30 12:05:49 -0700 (Mon, 30 Jul 2007)

Log Message:
-----------
Fixed palette going psychedelic at the very end of the game.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/callables_ns.cpp

Modified: scummvm/trunk/engines/parallaction/callables_ns.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/callables_ns.cpp	2007-07-30 18:39:38 UTC (rev 28334)
+++ scummvm/trunk/engines/parallaction/callables_ns.cpp	2007-07-30 19:05:49 UTC (rev 28335)
@@ -367,7 +367,7 @@
 
 			if (_enginePal[si] != pal[si]) {
 				al = _enginePal[si];
-				if (al > pal[si])
+				if (al < pal[si])
 					al = 1;
 				else
 					al = -1;
@@ -376,7 +376,7 @@
 
 			if (_enginePal[si+1] != pal[si+1]) {
 				al = _enginePal[si+1];
-				if (al > pal[si+1])
+				if (al < pal[si+1])
 					al = 1;
 				else
 					al = -1;
@@ -385,7 +385,7 @@
 
 			if (_enginePal[si+2] != pal[si+2]) {
 				al = _enginePal[si+2];
-				if (al > pal[si+2])
+				if (al < pal[si+2])
 					al = 1;
 				else
 					al = -1;


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