From 756af1ee83ecd0bce885d1a85912260a3a8ff70f Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sun, 29 Dec 2024 09:06:13 -0700 Subject: [PATCH] Add `VK_OEM_MINUS` --- LEGO1/lego/legoomni/src/entity/legonavcontroller.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/LEGO1/lego/legoomni/src/entity/legonavcontroller.cpp b/LEGO1/lego/legoomni/src/entity/legonavcontroller.cpp index 5e4b0a78..ffb2eb7c 100644 --- a/LEGO1/lego/legoomni/src/entity/legonavcontroller.cpp +++ b/LEGO1/lego/legoomni/src/entity/legonavcontroller.cpp @@ -30,6 +30,11 @@ DECOMP_SIZE_ASSERT(LegoNavController, 0x70) +// MSVC 4.20 didn't define a macro for this key +#ifndef VK_OEM_MINUS +#define VK_OEM_MINUS 0xBD +#endif + ////////////////////////////////////////////////////////////////////// #ifndef M_PI @@ -1019,7 +1024,7 @@ MxLong LegoNavController::Notify(MxParam& p_param) GameState()->m_isDirty = TRUE; } break; - case 0xbd: + case VK_OEM_MINUS: g_unk0x100f66bc = LegoAnimationManager::e_unk1; break; }