mirror of
https://github.com/sfall-team/int2ssl.git
synced 2026-07-27 16:52:42 -07:00
Don't write broken procedure difinition for imported procedures (closes #10)
This commit is contained in:
@@ -303,8 +303,13 @@ void CFalloutScript::StoreDeclarations()
|
||||
}
|
||||
|
||||
// Empty procedure
|
||||
if (m_ProcTable.GetSizeOfProc(i) == 0 && (m_ProcTable[i].m_ulType & P_IMPORT) == 0)
|
||||
if (m_ProcTable.GetSizeOfProc(i) == 0)
|
||||
{
|
||||
if ((m_ProcTable[i].m_ulType & P_IMPORT) != 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
g_ofstream << "/*******************************************************" << std::endl
|
||||
<< "* Found Procedure without body. *" << std::endl
|
||||
<< "* *" << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user