From 898ca12ccac3f74265d2cdcc01e54afa05e6b6e9 Mon Sep 17 00:00:00 2001 From: fed <58637860+fedddddd@users.noreply.github.com> Date: Thu, 13 Jan 2022 11:55:34 +0100 Subject: [PATCH] Small fix --- src/client/component/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/component/gui.cpp b/src/client/component/gui.cpp index 81a93f9e..34e0af53 100644 --- a/src/client/component/gui.cpp +++ b/src/client/component/gui.cpp @@ -68,7 +68,7 @@ namespace gui void new_gui_frame() { - ImGui::GetIO().MouseDrawCursor = toggled; + ImGui::GetIO().MouseDrawCursor = toggled || *game::keyCatchers & 0x1; *game::keyCatchers |= 0x10 * toggled; ImGui_ImplDX11_NewFrame();