- fixed bad call to validate function.

This commit is contained in:
Christoph Oelckers 2017-03-08 13:30:41 +01:00
parent de9c9221fe
commit 1cb89c6b37

View file

@ -649,9 +649,9 @@ begin:
}
NEXTOP;
OP(SCOPE) :
{
ASSERTA(a); ASSERTA(C);
FScopeBarrier::ValidateCall(((DObject*)a)->GetClass(), (VMFunction*)C, B - 1);
{
ASSERTA(a); ASSERTA(C);
FScopeBarrier::ValidateCall(((DObject*)konsta[a].v)->GetClass(), (VMFunction*)konsta[C].v, B - 1);
}
NEXTOP;