mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-14 08:30:35 +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)
|
||||
{
|
||||
VMValue val[2] = { actor };
|
||||
VMCall(func, val, 1, nullptr, 0);
|
||||
VMValue val = actor;
|
||||
VMCall(func, &val, 1, nullptr, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue