From 88eacbcc1b5b0f58762288c002f0e4f13cf79b9a Mon Sep 17 00:00:00 2001 From: nukeykt Date: Sat, 8 Feb 2020 03:51:34 +0900 Subject: [PATCH] Rednukem: fix ifvare instruction --- source/rr/src/gameexec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/rr/src/gameexec.cpp b/source/rr/src/gameexec.cpp index ab169acb1..1dbed53a1 100644 --- a/source/rr/src/gameexec.cpp +++ b/source/rr/src/gameexec.cpp @@ -2719,7 +2719,7 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) case CON_IFVARE: insptr++; tw = Gv_GetVar(*insptr++); - VM_CONDITIONAL(tw >= *insptr); + VM_CONDITIONAL(tw == *insptr); continue; case CON_IFVARVARE: