Fix menu converter not properly referencing functions

This commit is contained in:
Jan 2021-12-30 19:22:17 +01:00
parent 9136a7de3b
commit 1e3946974c

View File

@ -207,7 +207,7 @@ namespace IW4
}
expressionEntry functionEntry{};
functionEntry.type = EET_OPERATOR;
functionEntry.type = EET_OPERAND;
functionEntry.data.operand.dataType = VAL_FUNCTION;
functionEntry.data.operand.internals.function = functionStatement;
entries.emplace_back(functionEntry);