Replaced a stray 'A' with SDLK_A

This commit is contained in:
Anonymous Maarten 2024-12-29 18:26:37 +01:00
parent cbc7a93299
commit 2138d40821

View file

@ -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(