Remove this line.

This commit is contained in:
SmallJoker 2014-08-04 19:08:01 +02:00
parent 64fa36e796
commit fa2f2cb71c

@ -168,7 +168,6 @@ function boost_cart.cart:on_step(dtime)
local speed_mod = tonumber(minetest.get_meta(pos):get_string("cart_acceleration")) local speed_mod = tonumber(minetest.get_meta(pos):get_string("cart_acceleration"))
if speed_mod and speed_mod ~= 0 then if speed_mod and speed_mod ~= 0 then
if speed_mod > 0 then if speed_mod > 0 then
local is_limit = false
for _,v in ipairs({"x","y","z"}) do for _,v in ipairs({"x","y","z"}) do
if math.abs(vel[v]) >= max_vel then if math.abs(vel[v]) >= max_vel then
speed_mod = 0 speed_mod = 0