This commit is contained in:
Christian Semmler 2024-03-15 20:38:25 -04:00
parent b3cb59ae56
commit 05c926ba5a

View File

@ -709,11 +709,12 @@ MxS32 LegoOmni::GetCurrPathInfo(LegoPathBoundary** p_path, MxS32& p_value)
// FUNCTION: LEGO1 0x1005b430
const char* LegoOmni::FindScript(MxU32 p_index)
{
for (int i = 0; i < 19; i++) {
for (MxS32 i = 0; i < 19; i++) {
if (m_scripts[i].m_index == p_index) {
return m_scripts[i].m_key;
}
}
return NULL;
}