Minor fixes (#1248)

This commit is contained in:
Christian Semmler
2024-12-20 12:23:01 -07:00
committed by GitHub
parent 2b4f71e17d
commit c9acd9a49f
2 changed files with 2 additions and 2 deletions

View File

@@ -408,7 +408,7 @@ MxResult LegoGameState::Load(MxULong p_slot)
Read(&fileStorage, &actArea); Read(&fileStorage, &actArea);
if (m_currentAct == 0) { if (m_currentAct == e_act1) {
m_unk0x42c = e_undefined; m_unk0x42c = e_undefined;
} }
else { else {

View File

@@ -639,7 +639,7 @@ MxLong Act3::Notify(MxParam& p_param)
case c_notificationEndAnim: case c_notificationEndAnim:
if (m_state->m_unk0x08 == 1) { if (m_state->m_unk0x08 == 1) {
assert(m_copter && m_brickster && m_cop1 && m_cop2); assert(m_copter && m_brickster && m_cop1 && m_cop2);
m_unk0x4220.FUN_100720d0(NULL); m_unk0x4220.FUN_100720d0(0);
m_state->m_unk0x08 = 0; m_state->m_unk0x08 = 0;
FUN_10015820(TRUE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen); FUN_10015820(TRUE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen);
m_copter->HandleClick(); m_copter->HandleClick();