mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-29 07:22:33 +00:00
- Duke: Only store one VMValue
member on the stack in CallInitialize()
.
This commit is contained in:
parent
d5859db4f1
commit
a93342df85
1 changed files with 2 additions and 2 deletions
|
@ -427,8 +427,8 @@ void CallInitialize(DDukeActor* actor)
|
||||||
{
|
{
|
||||||
IFVIRTUALPTR(actor, DDukeActor, Initialize)
|
IFVIRTUALPTR(actor, DDukeActor, Initialize)
|
||||||
{
|
{
|
||||||
VMValue val[2] = { actor };
|
VMValue val = actor;
|
||||||
VMCall(func, val, 1, nullptr, 0);
|
VMCall(func, &val, 1, nullptr, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue