forked from Mirrorlandia_minetest/minetest
Only go fast in autorun if fast move is enabled
This commit is contained in:
parent
6ba4f3775e
commit
1550ab3c5d
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user