aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Windows64
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/Windows64')
-rw-r--r--Minecraft.Client/Windows64/KeyboardMouseInput.h1
-rw-r--r--Minecraft.Client/Windows64/Windows64_Minecraft.cpp13
2 files changed, 1 insertions, 13 deletions
diff --git a/Minecraft.Client/Windows64/KeyboardMouseInput.h b/Minecraft.Client/Windows64/KeyboardMouseInput.h
index 89a028b1..5945b26a 100644
--- a/Minecraft.Client/Windows64/KeyboardMouseInput.h
+++ b/Minecraft.Client/Windows64/KeyboardMouseInput.h
@@ -30,6 +30,7 @@ public:
static const int KEY_PAUSE = VK_ESCAPE;
static const int KEY_THIRD_PERSON = VK_F5;
static const int KEY_DEBUG_INFO = VK_F3;
+ static const int KEY_DEBUG_MENU = VK_F4;
void Init();
void Tick();
diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
index 49c43cea..d38ad442 100644
--- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
+++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
@@ -1569,19 +1569,6 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
}
#ifdef _DEBUG_MENUS_ENABLED
- // F4 Open debug overlay
- if (g_KBMInput.IsKeyPressed(VK_F4))
- {
- if (Minecraft *pMinecraft = Minecraft::GetInstance())
- {
- if (pMinecraft->options &&
- app.GetGameStarted() && !ui.GetMenuDisplayed(0) && pMinecraft->screen == NULL)
- {
- ui.NavigateToScene(0, eUIScene_DebugOverlay, NULL, eUILayer_Debug);
- }
- }
- }
-
// F6 Open debug console
if (g_KBMInput.IsKeyPressed(VK_F6))
{