mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-09 22:38:06 -05:00
Fix IW4 menu dumper not dumping custom functions properly
This commit is contained in:
@ -158,7 +158,7 @@ void MenuDumper::WriteStatementOperandFunction(const Statement_s* statement, con
|
||||
}
|
||||
|
||||
if (functionIndex >= 0)
|
||||
m_stream << "FUNC_" << functionIndex << "()";
|
||||
m_stream << "FUNC_" << functionIndex;
|
||||
else
|
||||
m_stream << "INVALID_FUNC";
|
||||
m_stream << "()";
|
||||
|
@ -158,9 +158,10 @@ void MenuDumper::WriteStatementOperandFunction(const Statement_s* statement, con
|
||||
}
|
||||
|
||||
if (functionIndex >= 0)
|
||||
m_stream << "FUNC_" << functionIndex << "()";
|
||||
m_stream << "FUNC_" << functionIndex;
|
||||
else
|
||||
m_stream << "INVALID_FUNC";
|
||||
m_stream << "()";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user