mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 01:26:50 -04:00
Fix speed: 5X getting stuck shown if you had ctrl pressed before opening chat (Thanks Cybertoon)
This commit is contained in:
parent
b8bf9db131
commit
a2d7f4a71a
@ -802,7 +802,8 @@ static void LocalPlayer_HandleInput(float* xMoving, float* zMoving) {
|
||||
struct LocalPlayerInput* input;
|
||||
|
||||
if (Gui_GetInputGrab()) {
|
||||
p->Physics.Jumping = false; hacks->Speeding = false;
|
||||
/* TODO: Don't always turn these off anytime a screen is opened, only do it on InputUp */
|
||||
p->Physics.Jumping = false; hacks->Speeding = false; hacks->HalfSpeeding = false;
|
||||
hacks->FlyingUp = false; hacks->FlyingDown = false;
|
||||
} else {
|
||||
/* keyboard input, touch, joystick, etc */
|
||||
|
Loading…
x
Reference in New Issue
Block a user