Only go fast in autorun if fast move is enabled

This commit is contained in:
est31 2015-11-03 15:29:52 +01:00
parent 6ba4f3775e
commit 1550ab3c5d

@ -512,15 +512,16 @@ void LocalPlayer::applyControl(float dtime)
} }
} }
if(continuous_forward) if (continuous_forward)
speedH += move_direction; speedH += move_direction;
if(control.up) if (control.up) {
{ if (continuous_forward) {
if(continuous_forward) if (fast_move)
superspeed = true; superspeed = true;
else } else {
speedH += move_direction; speedH += move_direction;
}
} }
if(control.down) if(control.down)
{ {