mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 05:43:43 +01:00
Remove minecart handbrake
This commit is contained in:
parent
83c6299cc2
commit
841eac8d58
@ -206,10 +206,6 @@ function mcl_minecarts.cart:on_step(dtime)
|
|||||||
acc = acc + (speed_mod * 8)
|
acc = acc + (speed_mod * 8)
|
||||||
else
|
else
|
||||||
acc = acc - 0.4
|
acc = acc - 0.4
|
||||||
-- Handbrake
|
|
||||||
if ctrl and ctrl.down and math.abs(vel.x + vel.z) > 1.2 then
|
|
||||||
acc = acc - 1.2
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
new_acc = vector.multiply(dir, acc)
|
new_acc = vector.multiply(dir, acc)
|
||||||
|
Loading…
Reference in New Issue
Block a user