- always pass complete argument lists in the VM.

This commit is contained in:
Christoph Oelckers 2018-11-16 22:43:12 +01:00
commit 95ab1da6a0
2 changed files with 32 additions and 0 deletions

View file

@ -501,6 +501,13 @@ public:
isresolved = true;
}
FxConstant(void *state, const FScriptPosition &pos) : FxExpression(EFX_Constant, pos)
{
value.pointer = state;
ValueType = value.Type = TypeVoidPtr;
isresolved = true;
}
FxConstant(const FScriptPosition &pos) : FxExpression(EFX_Constant, pos)
{
value.pointer = nullptr;