diff --git a/LEGO1/lego/legoomni/include/legogamestate.h b/LEGO1/lego/legoomni/include/legogamestate.h index 53acc6e9..b679d1c3 100644 --- a/LEGO1/lego/legoomni/include/legogamestate.h +++ b/LEGO1/lego/legoomni/include/legogamestate.h @@ -24,9 +24,9 @@ struct ColorStringStruct { }; struct InternationalCharacter { - unsigned char m_character; + char32_t m_character; const char* m_bitmap; - MxU32 buttonId; + MxU32 m_buttonId; }; // VTABLE: LEGO1 0x100d74a8 diff --git a/LEGO1/lego/legoomni/src/worlds/registrationbook.cpp b/LEGO1/lego/legoomni/src/worlds/registrationbook.cpp index 75dada16..ba774f6b 100644 --- a/LEGO1/lego/legoomni/src/worlds/registrationbook.cpp +++ b/LEGO1/lego/legoomni/src/worlds/registrationbook.cpp @@ -244,7 +244,7 @@ MxLong RegistrationBook::HandleControl(LegoControlManagerNotificationParam& p_pa const InternationalCharacter* intChar = NULL; for (int i = 0; i < sizeOfArray(m_intAlphabet); i++) { - if (m_intAlphabet[i] && LegoGameState::g_intCharacters[i].buttonId == buttonId) { + if (m_intAlphabet[i] && LegoGameState::g_intCharacters[i].m_buttonId == buttonId) { intChar = &LegoGameState::g_intCharacters[i]; break; }