mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-26 05:51:00 +00:00
- Duke: Extend fix from previous commit to appropriately resize the VMValue
array also.
This commit is contained in:
parent
a943652799
commit
adc2396f31
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue