[Gamepad] This hook needs to be moved (todo)

This commit is contained in:
Diavolo 2022-08-11 00:27:18 +02:00
parent 8a55ae1f30
commit e232e97785
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -274,11 +274,6 @@ namespace Components
to->forwardmove = forward;
to->rightmove = right;
if (!Lean::BGLean.get<bool>())
{
to->buttons &= ~(Game::CMD_BUTTON_LEAN_RIGHT | Game::CMD_BUTTON_LEAN_LEFT);
}
}
__declspec(naked) void Gamepad::MSG_ReadDeltaUsercmdKeyStub()