This commit is contained in:
Christian Semmler 2024-03-30 09:38:18 -04:00
parent 22d073c98d
commit 8f06962af8

View File

@ -189,14 +189,12 @@ 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) {
if (p_bool) { if (p_bool) {
if (m_unk0x15 == 0) { if (m_unk0x15 != 0) {
m_unk0x15 = 100;
FUN_1002aae0();
return SUCCESS;
}
else {
return FAILURE; return FAILURE;
} }
m_unk0x15 = 100;
FUN_1002aae0();
} }
else { else {
MxU32 b = FALSE; MxU32 b = FALSE;
@ -266,13 +264,13 @@ MxResult LegoExtraActor::VTable0x94(LegoPathActor* p_actor, MxBool p_bool)
m_axis = dot2 > 0.0 ? e_posx : e_negx; m_axis = dot2 > 0.0 ? e_posx : e_negx;
} }
} }
return SUCCESS;
} }
} }
else { else {
return FAILURE; return FAILURE;
} }
return SUCCESS;
} }
// STUB: LEGO1 0x1002b290 // STUB: LEGO1 0x1002b290