mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-11 19:53:52 +00:00
fix: fix sprinting
This commit is contained in:
parent
b5111232aa
commit
6cba5705dd
3 changed files with 33 additions and 12 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue