1
0
Fork 0

add customizable speed to mounts, not set value.

This commit is contained in:
epCode 2022-10-28 01:56:27 +00:00 committed by cora
parent 83d92e08ca
commit 4fa1c445cc
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ function mcl_mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime)
-- move forwards -- move forwards
if ctrl.up then 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 -- move backwards
elseif ctrl.down then elseif ctrl.down then