From 3879e67cee40493ce32be3912c95014d58f0adf9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 4 Mar 2017 11:33:57 +0100 Subject: [PATCH] - the #if was in the wrong place. --- src/scripting/vm/vmexec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting/vm/vmexec.h b/src/scripting/vm/vmexec.h index c11b351c0..cd3925adc 100644 --- a/src/scripting/vm/vmexec.h +++ b/src/scripting/vm/vmexec.h @@ -664,9 +664,9 @@ begin: VMReturn returns[MAX_RETURNS]; int numret; + b = B; #if 0 // [ZZ] hax! - b = B; if (call->BarrierSide == 3) // :( - this is Side_Virtual. Side_Virtual should receive special arguments. { PFunction* calledfunc = (PFunction*)(reg.param + f->NumParam - b)[0].a;