aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/dreamgen.cpp
diff options
context:
space:
mode:
authorVladimir Menshakov2011-06-12 11:44:34 +0400
committerAlyssa Milburn2011-06-15 17:34:16 +0200
commit99a4bb86ddc6ab58d11c1cbab2ca2ff01aa8f835 (patch)
tree5ceaa725d277d0899ac5bccbde9cc300557e59d7 /engines/dreamweb/dreamgen.cpp
parent2bcc06f9eae89dcdc45a5430aa0e0395c2fa576e (diff)
downloadscummvm-rg350-99a4bb86ddc6ab58d11c1cbab2ca2ff01aa8f835.tar.gz
scummvm-rg350-99a4bb86ddc6ab58d11c1cbab2ca2ff01aa8f835.tar.bz2
scummvm-rg350-99a4bb86ddc6ab58d11c1cbab2ca2ff01aa8f835.zip
DREAMWEB: fixed invalid generated jump instructions
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r--engines/dreamweb/dreamgen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp
index 56d57bee71..16e4958c89 100644
--- a/engines/dreamweb/dreamgen.cpp
+++ b/engines/dreamweb/dreamgen.cpp
@@ -17818,13 +17818,13 @@ loop048:
if (context.flags.l()) goto over045;
context.ax = context.cs.word(context.bx+2);
context._cmp(context.data.word(kMousex), context.ax);
- if (!context.flags.ge()) goto over045;
+ if (!context.flags.l()) goto over045;
context.ax = context.cs.word(context.bx+4);
context._cmp(context.data.word(kMousey), context.ax);
if (context.flags.l()) goto over045;
context.ax = context.cs.word(context.bx+6);
context._cmp(context.data.word(kMousey), context.ax);
- if (!context.flags.ge()) goto over045;
+ if (!context.flags.l()) goto over045;
context.ax = context.cs.word(context.bx+8);
__dispatch_call(context, context.ax);
finished:
@@ -18859,7 +18859,7 @@ vertline:
context.bx = context.data.word(kLineendy);
context.cx = context.bx;
context._sub(context.cx, context.ax);
- if (!context.flags.ge()) goto line31;
+ if (!context.flags.l()) goto line31;
context._neg(context.cx);
context.ax = context.bx;
context.data.byte(kLinedirection) = 1;