forked from VoxeLibre/VoxeLibre
add customizable speed to mounts, not set value.
This commit is contained in:
parent
83d92e08ca
commit
4fa1c445cc
|
@ -206,7 +206,7 @@ function mcl_mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime)
|
|||
-- move forwards
|
||||
if ctrl.up then
|
||||
|
||||
entity.v = entity.v + entity.accel / 10
|
||||
entity.v = entity.v + entity.accel / 10 * entity.run_velocity / 2.6
|
||||
|
||||
-- move backwards
|
||||
elseif ctrl.down then
|
||||
|
|
Loading…
Reference in New Issue