- Duke: Only store one VMValue member on the stack in CallInitialize().

This commit is contained in:
Mitchell Richters 2023-01-05 20:56:04 +11:00
parent d5859db4f1
commit a93342df85

View file

@ -427,8 +427,8 @@ void CallInitialize(DDukeActor* actor)
{
IFVIRTUALPTR(actor, DDukeActor, Initialize)
{
VMValue val[2] = { actor };
VMCall(func, val, 1, nullptr, 0);
VMValue val = actor;
VMCall(func, &val, 1, nullptr, 0);
}
}