This commit is contained in:
Christian Semmler 2024-03-30 09:38:46 -04:00
parent 8f06962af8
commit 1582170205

View File

@ -187,7 +187,10 @@ inline void LegoExtraActor::FUN_1002ad8a()
// FUNCTION: LEGO1 0x1002aba0 // FUNCTION: LEGO1 0x1002aba0
MxResult LegoExtraActor::VTable0x94(LegoPathActor* p_actor, MxBool p_bool) MxResult LegoExtraActor::VTable0x94(LegoPathActor* p_actor, MxBool p_bool)
{ {
if (p_actor->GetState() == 0 && m_state == 0) { if (p_actor->GetState() != 0 || m_state != 0) {
return FAILURE;
}
if (p_bool) { if (p_bool) {
if (m_unk0x15 != 0) { if (m_unk0x15 != 0) {
return FAILURE; return FAILURE;
@ -265,10 +268,6 @@ MxResult LegoExtraActor::VTable0x94(LegoPathActor* p_actor, MxBool p_bool)
} }
} }
} }
}
else {
return FAILURE;
}
return SUCCESS; return SUCCESS;
} }