From e232e977855758a98b74e79f430caad5fd158f47 Mon Sep 17 00:00:00 2001 From: Diavolo Date: Thu, 11 Aug 2022 00:27:18 +0200 Subject: [PATCH] [Gamepad] This hook needs to be moved (todo) --- src/Components/Modules/Gamepad.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Components/Modules/Gamepad.cpp b/src/Components/Modules/Gamepad.cpp index 38aef7bb..2ec0e24d 100644 --- a/src/Components/Modules/Gamepad.cpp +++ b/src/Components/Modules/Gamepad.cpp @@ -274,11 +274,6 @@ namespace Components to->forwardmove = forward; to->rightmove = right; - - if (!Lean::BGLean.get()) - { - to->buttons &= ~(Game::CMD_BUTTON_LEAN_RIGHT | Game::CMD_BUTTON_LEAN_LEFT); - } } __declspec(naked) void Gamepad::MSG_ReadDeltaUsercmdKeyStub()