From d911cdcfe7e23bc1cc2a642e29a8cfea9661ef4c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 7 Mar 2017 22:18:50 +0100 Subject: [PATCH] - missed a bit. --- 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 aec532c37..594942351 100644 --- a/src/scripting/vm/vmexec.h +++ b/src/scripting/vm/vmexec.h @@ -651,7 +651,7 @@ begin: OP(SCOPE) : { ASSERTA(a); ASSERTA(C); - FScopeBarrier::ValidateCall(((DObject*)a)->GetClass(), (VMFunction*)C, B); + FScopeBarrier::ValidateCall(((DObject*)a)->GetClass(), (VMFunction*)C, B - 1); } NEXTOP;