[Scummvm-cvs-logs] CVS: scummvm/sky logic.cpp,1.86,1.87

Robert G?ffringmann lavosspawn at users.sourceforge.net
Fri Jun 6 06:56:10 CEST 2003


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv4365/sky

Modified Files:
	logic.cpp 
Log Message:
fix logic script bugs.

Index: logic.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/logic.cpp,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- logic.cpp	6 Jun 2003 00:56:59 -0000	1.86
+++ logic.cpp	6 Jun 2003 13:55:16 -0000	1.87
@@ -1115,7 +1115,7 @@
 		case 1: // less_than
 			a = pop();
 			b = pop();
-			if (a < b)
+			if (a > b)
 				push(1);
 			else
 				push(0);
@@ -1200,7 +1200,7 @@
 		case 12: // more_than
 			a = pop();
 			b = pop();
-			if (a > b)
+			if (a < b)
 				push(1);
 			else
 				push(0);
@@ -2225,11 +2225,11 @@
 }
 
 bool SkyLogic::fnPauseFx(uint32 a, uint32 b, uint32 c) {
-	error("Stub: fnPauseFx");
+	warning("Stub: fnPauseFx");
 }
 
 bool SkyLogic::fnUnPauseFx(uint32 a, uint32 b, uint32 c) {
-	error("Stub: fnUnPauseFx");
+	warning("Stub: fnUnPauseFx");
 }
 
 bool SkyLogic::fnPrintf(uint32 a, uint32 b, uint32 c) {





More information about the Scummvm-git-logs mailing list