mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-22 20:21:20 +00:00
Fixed a Mac debug build crash where CallAnimate attempted to pass one too many parameters to the VM.
This commit is contained in:
parent
0b3076d2b4
commit
a943652799
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ bool CallAnimate(DDukeActor* actor, tspritetype* tspr)
|
||||||
{
|
{
|
||||||
VMReturn ret(& nval);
|
VMReturn ret(& nval);
|
||||||
VMValue val[3] = { actor, tspr };
|
VMValue val[3] = { actor, tspr };
|
||||||
VMCall(func, val, 3, &ret, 1);
|
VMCall(func, val, 2, &ret, 1);
|
||||||
}
|
}
|
||||||
return nval;
|
return nval;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue