From 975e2ce54f2dc01b3e039cfac772fe1e0145cf4d Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Sun, 29 Dec 2024 18:48:08 +0100 Subject: [PATCH] Use SDL_Keycode to store the ogel cheat code --- LEGO1/lego/legoomni/src/entity/legonavcontroller.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/legoomni/src/entity/legonavcontroller.cpp b/LEGO1/lego/legoomni/src/entity/legonavcontroller.cpp index d33004a8..d974c439 100644 --- a/LEGO1/lego/legoomni/src/entity/legonavcontroller.cpp +++ b/LEGO1/lego/legoomni/src/entity/legonavcontroller.cpp @@ -109,10 +109,17 @@ MxU32 g_switchAct = FALSE; LegoAnimationManager::PlayMode g_unk0x100f66bc = LegoAnimationManager::e_unk2; // GLOBAL: LEGO1 0x100f66c0 -char g_debugPassword[] = "OGEL"; +SDL_Keycode g_debugPassword[] = { + // "OGEL" + SDLK_O, + SDLK_G, + SDLK_E, + SDLK_L, + 0, +}; // GLOBAL: LEGO1 0x100f66c8 -char* g_currentInput = g_debugPassword; +SDL_Keycode* g_currentInput = g_debugPassword; // GLOBAL: LEGO1 0x100f66cc MxS32 g_nextCharacter = -1;