mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed: The VM function builder was set up with the wrong number of implicit arguments.
This commit is contained in:
parent
ff66dc3189
commit
6aecb29995
1 changed files with 1 additions and 1 deletions
|
@ -701,7 +701,7 @@ void FFunctionBuildList::Build()
|
|||
FCompileContext ctx(item.Func, item.Func->SymbolName == NAME_None ? nullptr : item.Func->Variants[0].Proto, item.FromDecorate);
|
||||
|
||||
// Allocate registers for the function's arguments and create local variable nodes before starting to resolve it.
|
||||
VMFunctionBuilder buildit(!!(item.Func->Variants[0].Flags & VARF_Action));
|
||||
VMFunctionBuilder buildit(item.Func->GetImplicitArgs());
|
||||
for(unsigned i=0;i<item.Func->Variants[0].Proto->ArgumentTypes.Size();i++)
|
||||
{
|
||||
auto type = item.Func->Variants[0].Proto->ArgumentTypes[i];
|
||||
|
|
Loading…
Reference in a new issue