From c7af86bd0048d79a5f28dfbbfdeeb15a05f827a1 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 3 Nov 2019 22:20:19 +0100 Subject: [PATCH] - use proper key names. --- source/duke3d/src/menus.cpp | 4 ++-- source/rr/src/menus.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/duke3d/src/menus.cpp b/source/duke3d/src/menus.cpp index 5c9a3b5d8..a3b5856e5 100644 --- a/source/duke3d/src/menus.cpp +++ b/source/duke3d/src/menus.cpp @@ -1655,8 +1655,8 @@ void Menu_Init(void) } MEOS_Gamefuncs.numOptions = k; - for (i = 0; i < NUMKEYS; ++i) - MEOSN_Keys[i] = g_keyNameTable[i]; + for (i = 0; i < NUMKEYS; ++i) + MEOSN_Keys[i] = KB_ScanCodeToString(i); MEOSN_Keys[NUMKEYS-1] = MenuKeyNone; diff --git a/source/rr/src/menus.cpp b/source/rr/src/menus.cpp index 4c33861d0..f6ba897c4 100644 --- a/source/rr/src/menus.cpp +++ b/source/rr/src/menus.cpp @@ -1607,7 +1607,7 @@ void Menu_Init(void) MEOS_Gamefuncs.numOptions = k; for (i = 0; i < NUMKEYS; ++i) - MEOSN_Keys[i] = g_keyNameTable[i]; + MEOSN_Keys[i] = KB_ScanCodeToString(i); MEOSN_Keys[NUMKEYS-1] = MenuKeyNone;