- Duke: Extend fix from previous commit to appropriately resize the VMValue array also.

This commit is contained in:
Mitchell Richters 2022-12-24 15:41:37 +11:00
parent a943652799
commit adc2396f31

View file

@ -516,7 +516,7 @@ bool CallAnimate(DDukeActor* actor, tspritetype* tspr)
IFVIRTUALPTR(actor, DDukeActor, animate)
{
VMReturn ret(& nval);
VMValue val[3] = { actor, tspr };
VMValue val[2] = { actor, tspr };
VMCall(func, val, 2, &ret, 1);
}
return nval;