forked from Mirrorlandia_minetest/minetest
Only go fast in autorun if fast move is enabled
This commit is contained in:
parent
6ba4f3775e
commit
1550ab3c5d
@ -515,13 +515,14 @@ void LocalPlayer::applyControl(float dtime)
|
||||
if (continuous_forward)
|
||||
speedH += move_direction;
|
||||
|
||||
if(control.up)
|
||||
{
|
||||
if(continuous_forward)
|
||||
if (control.up) {
|
||||
if (continuous_forward) {
|
||||
if (fast_move)
|
||||
superspeed = true;
|
||||
else
|
||||
} else {
|
||||
speedH += move_direction;
|
||||
}
|
||||
}
|
||||
if(control.down)
|
||||
{
|
||||
speedH -= move_direction;
|
||||
|
Loading…
Reference in New Issue
Block a user