diff options
| author | 4win <4winyt@gmail.com> | 2026-03-03 01:13:20 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-03 15:13:20 +0800 |
| commit | ca7615d77d61e02c5fe895577f0ca353c6369887 (patch) | |
| tree | 00e15c4b5ebcf4626d114e417d27dd05b1532e70 /Minecraft.Client/Input.cpp | |
| parent | cd03a390b74c2452f26909a860227353cbd46ab6 (diff) | |
feat: make the game sensitivity slider affect mouse sensitivity (#255)
Diffstat (limited to 'Minecraft.Client/Input.cpp')
| -rw-r--r-- | Minecraft.Client/Input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/Input.cpp b/Minecraft.Client/Input.cpp index 6933a2d7..1639d09b 100644 --- a/Minecraft.Client/Input.cpp +++ b/Minecraft.Client/Input.cpp @@ -145,7 +145,7 @@ void Input::tick(LocalPlayer *player) // Delta should normally be 0 since applyFrameMouseLook() already consumed it if (rawDx != 0.0f || rawDy != 0.0f) { - float mouseSensitivity = 0.5f; + float mouseSensitivity = ((float)app.GetGameSettings(iPad, eGameSetting_Sensitivity_InGame)) / 100.0f; float mdx = rawDx * mouseSensitivity; float mdy = -rawDy * mouseSensitivity; if (app.GetGameSettings(iPad, eGameSetting_ControlInvertLook)) |
