diff options
| author | Robert Göffringmann | 2003-06-06 13:55:16 +0000 | 
|---|---|---|
| committer | Robert Göffringmann | 2003-06-06 13:55:16 +0000 | 
| commit | e02875be67940a879ed35359747c229f9e0dcade (patch) | |
| tree | 09df0e7e0e1afb4aa58b2179202124e0608b23de | |
| parent | d813deb5e801aaa74e06b27643542c7ae36ec545 (diff) | |
| download | scummvm-rg350-e02875be67940a879ed35359747c229f9e0dcade.tar.gz scummvm-rg350-e02875be67940a879ed35359747c229f9e0dcade.tar.bz2 scummvm-rg350-e02875be67940a879ed35359747c229f9e0dcade.zip | |
fix logic script bugs.
svn-id: r8352
| -rw-r--r-- | sky/logic.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/sky/logic.cpp b/sky/logic.cpp index f19d7090c5..6580e78847 100644 --- a/sky/logic.cpp +++ b/sky/logic.cpp @@ -1115,7 +1115,7 @@ script:  		case 1: // less_than  			a = pop();  			b = pop(); -			if (a < b) +			if (a > b)  				push(1);  			else  				push(0); @@ -1200,7 +1200,7 @@ script:  		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::fnQuitToDos(uint32 a, uint32 b, uint32 c) {  }  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) { | 
