mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-21 00:25:44 +00:00
Fix IW4 menu dumper not dumping custom functions properly
This commit is contained in:
parent
15bec9c356
commit
6eca361517
@ -158,7 +158,7 @@ void MenuDumper::WriteStatementOperandFunction(const Statement_s* statement, con
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (functionIndex >= 0)
|
if (functionIndex >= 0)
|
||||||
m_stream << "FUNC_" << functionIndex << "()";
|
m_stream << "FUNC_" << functionIndex;
|
||||||
else
|
else
|
||||||
m_stream << "INVALID_FUNC";
|
m_stream << "INVALID_FUNC";
|
||||||
m_stream << "()";
|
m_stream << "()";
|
||||||
|
@ -158,9 +158,10 @@ void MenuDumper::WriteStatementOperandFunction(const Statement_s* statement, con
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (functionIndex >= 0)
|
if (functionIndex >= 0)
|
||||||
m_stream << "FUNC_" << functionIndex << "()";
|
m_stream << "FUNC_" << functionIndex;
|
||||||
else
|
else
|
||||||
m_stream << "INVALID_FUNC";
|
m_stream << "INVALID_FUNC";
|
||||||
|
m_stream << "()";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user