[Scummvm-cvs-logs] SF.net SVN: scummvm: [27143] scummvm/trunk/engines/saga/sfuncs.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Jun 6 20:09:53 CEST 2007


Revision: 27143
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27143&view=rev
Author:   thebluegr
Date:     2007-06-06 11:09:52 -0700 (Wed, 06 Jun 2007)

Log Message:
-----------
Fixed the parameter order in sfScriptFade

Modified Paths:
--------------
    scummvm/trunk/engines/saga/sfuncs.cpp

Modified: scummvm/trunk/engines/saga/sfuncs.cpp
===================================================================
--- scummvm/trunk/engines/saga/sfuncs.cpp	2007-06-06 18:04:25 UTC (rev 27142)
+++ scummvm/trunk/engines/saga/sfuncs.cpp	2007-06-06 18:09:52 UTC (rev 27143)
@@ -1905,10 +1905,10 @@
 }
 
 void Script::sfScriptFade(SCRIPTFUNC_PARAMS) {
+	thread->pop(); // first pal entry, ignored (already handled by Gfx::palToBlack)
+	thread->pop(); //  last pal entry, ignored (already handled by Gfx::palToBlack)
 	int16 startingBrightness = thread->pop();
 	int16 endingBrightness = thread->pop();
-	thread->pop(); // first pal entry, ignored (already handled by Gfx::palToBlack)
-	thread->pop(); //  last pal entry, ignored (already handled by Gfx::palToBlack)
 	// delay between pal changes is always 10 (not used)
 
 	Event event;


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