Clear unknown in LegoControlManagerNotificationParam (#1633)

This commit is contained in:
Fabian Neundorf
2025-07-19 01:09:37 +02:00
committed by GitHub
parent cfd36ec88f
commit bd71370602
24 changed files with 31 additions and 31 deletions

View File

@@ -226,7 +226,7 @@ MxLong RegistrationBook::HandleKeyPress(MxU8 p_key)
// FUNCTION: LEGO1 0x100774a0
MxLong RegistrationBook::HandleControl(LegoControlManagerNotificationParam& p_param)
{
MxS16 buttonId = p_param.m_unk0x28;
MxS16 buttonId = p_param.m_enabledChild;
if (buttonId >= 1 && buttonId <= 28) {
if (p_param.m_clickedObjectId == RegbookScript::c_Alphabet_Ctl) {