This commit is contained in:
Christian Semmler 2025-06-16 21:41:26 -07:00
parent 86eccaaca4
commit dbc1da060e
2 changed files with 5 additions and 4 deletions

View File

@ -10,7 +10,7 @@
#include "mxstillpresenter.h" #include "mxstillpresenter.h"
#include "mxtransitionmanager.h" #include "mxtransitionmanager.h"
#include <SDL3/SDL_Log.h> #include <SDL3/SDL_log.h>
DECOMP_SIZE_ASSERT(HistoryBook, 0x3e4) DECOMP_SIZE_ASSERT(HistoryBook, 0x3e4)

View File

@ -29,7 +29,7 @@
#include "regbook_actions.h" #include "regbook_actions.h"
#include "scripts.h" #include "scripts.h"
#include <SDL3/SDL_Log.h> #include <SDL3/SDL_log.h>
DECOMP_SIZE_ASSERT(RegistrationBook, 0x2d0) DECOMP_SIZE_ASSERT(RegistrationBook, 0x2d0)
@ -250,7 +250,7 @@ MxLong RegistrationBook::HandleControl(LegoControlManagerNotificationParam& p_pa
} }
} }
if (buttonId >= 1 && buttonId <= 28 || intChar) { if ((buttonId >= 1 && buttonId <= 28) || intChar) {
if (p_param.m_clickedObjectId == RegbookScript::c_Alphabet_Ctl) { if (p_param.m_clickedObjectId == RegbookScript::c_Alphabet_Ctl) {
// buttonId: // buttonId:
// - [1, 26]: alphabet // - [1, 26]: alphabet
@ -300,8 +300,9 @@ MxLong RegistrationBook::HandleControl(LegoControlManagerNotificationParam& p_pa
FUN_100775c0(i); FUN_100775c0(i);
} }
} }
}
return 1; return 1;
} }
// FUNCTION: LEGO1 0x100775c0 // FUNCTION: LEGO1 0x100775c0