mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-14 15:52:01 +00:00
Add missing parenthesis for custom functions when dumping menus
This commit is contained in:
1 parent
4829a4206b
commit
cd5a5c2898
2 files changed
+4
-4
No files matched your search
@@ -137,7 +137,7 @@ void MenuDumper::WriteStatementOperator(const Statement_s* statement, size_t& cu
|
||||
}
|
||||
}
|
||||
|
||||
void MenuDumper::WriteStatementOperandFunction(const Statement_s* statement, size_t currentPos) const
|
||||
void MenuDumper::WriteStatementOperandFunction(const Statement_s* statement, const size_t currentPos) const
|
||||
{
|
||||
const auto& operand = statement->entries[currentPos].data.operand;
|
||||
|
||||
@@ -160,7 +160,7 @@ void MenuDumper::WriteStatementOperandFunction(const Statement_s* statement, siz
|
||||
}
|
||||
|
||||
if (functionIndex >= 0)
|
||||
m_stream << "FUNC_" << functionIndex;
|
||||
m_stream << "FUNC_" << functionIndex << "()";
|
||||
else
|
||||
m_stream << "INVALID_FUNC";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user