diff options
| author | daoge_cmd <3523206925@qq.com> | 2026-03-02 01:21:56 +0800 |
|---|---|---|
| committer | daoge_cmd <3523206925@qq.com> | 2026-03-02 01:21:56 +0800 |
| commit | 6cba5705dd24a3266cbfc729af0a96b06234fc34 (patch) | |
| tree | 31ada76f131a75f8b6a3a617e3a6bfb4d01324b4 /Minecraft.Client/Input.h | |
| parent | b5111232aa13952f58ed1b3b3525ea825662b95c (diff) | |
fix: fix sprinting
Diffstat (limited to 'Minecraft.Client/Input.h')
| -rw-r--r-- | Minecraft.Client/Input.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Minecraft.Client/Input.h b/Minecraft.Client/Input.h index ef1dcd0c..d8dedd57 100644 --- a/Minecraft.Client/Input.h +++ b/Minecraft.Client/Input.h @@ -6,10 +6,12 @@ class Input public: float xa; float ya; + float sprintForward; bool wasJumping; bool jumping; bool sneaking; + bool usingKeyboardMovement; Input(); // 4J - added @@ -20,4 +22,4 @@ private: bool lReset; bool rReset; bool m_gamepadSneaking; -};
\ No newline at end of file +}; |
