From d0a07b03442954caa69705282fb699bbd64c6dda Mon Sep 17 00:00:00 2001 From: CallowBlack Date: Wed, 15 Jun 2022 16:58:53 +0300 Subject: [PATCH] fix #75 --- cheat-base/src/cheat-base/render/renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheat-base/src/cheat-base/render/renderer.cpp b/cheat-base/src/cheat-base/render/renderer.cpp index 183ce23..d7fdf26 100644 --- a/cheat-base/src/cheat-base/render/renderer.cpp +++ b/cheat-base/src/cheat-base/render/renderer.cpp @@ -207,7 +207,7 @@ namespace renderer key = VK_MBUTTON; break; case WM_XBUTTONUP: - key = GET_XBUTTON_WPARAM(wParam); + key = GET_XBUTTON_WPARAM(wParam) == XBUTTON1 ? VK_XBUTTON1 : VK_XBUTTON2; break; case WM_KEYUP: key = static_cast(wParam);