From 2138d408210c9417e24449b3c65c9ac45978646b Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Sun, 29 Dec 2024 18:26:37 +0100 Subject: [PATCH] Replaced a stray 'A' with SDLK_A --- LEGO1/lego/legoomni/src/worlds/registrationbook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LEGO1/lego/legoomni/src/worlds/registrationbook.cpp b/LEGO1/lego/legoomni/src/worlds/registrationbook.cpp index 4ccf3ea3..bf6e1310 100644 --- a/LEGO1/lego/legoomni/src/worlds/registrationbook.cpp +++ b/LEGO1/lego/legoomni/src/worlds/registrationbook.cpp @@ -181,7 +181,7 @@ MxLong RegistrationBook::HandleKeyPress(SDL_Keycode p_key) } } else if (key != SDLK_BACKSPACE && m_unk0x280.m_cursorPos < 7) { - m_name[0][m_unk0x280.m_cursorPos] = m_alphabet[key - 'A']->Clone(); + m_name[0][m_unk0x280.m_cursorPos] = m_alphabet[key - SDLK_A]->Clone(); if (m_name[0][m_unk0x280.m_cursorPos] != NULL) { m_alphabet[key - SDLK_A]->GetAction()->SetUnknown24(