From e02875be67940a879ed35359747c229f9e0dcade Mon Sep 17 00:00:00 2001 From: Robert Göffringmann Date: Fri, 6 Jun 2003 13:55:16 +0000 Subject: fix logic script bugs. svn-id: r8352 --- sky/logic.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sky') 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) { -- cgit v1.2.3