Skip to content
Snippets Groups Projects
Commit 1550ab3c authored by est31's avatar est31
Browse files

Only go fast in autorun if fast move is enabled

parent 6ba4f377
No related branches found
No related tags found
No related merge requests found
......@@ -512,15 +512,16 @@ void LocalPlayer::applyControl(float dtime)
}
}
if(continuous_forward)
if (continuous_forward)
speedH += move_direction;
if(control.up)
{
if(continuous_forward)
superspeed = true;
else
if (control.up) {
if (continuous_forward) {
if (fast_move)
superspeed = true;
} else {
speedH += move_direction;
}
}
if(control.down)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment