1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-27 23:10:33 +02:00

Removed a global variable in carts

This commit is contained in:
LeMagnesium 2015-01-16 23:37:48 +01:00
parent 84ead6a062
commit 3bd75abd88

View File

@ -552,7 +552,7 @@ function cart:on_step(dtime)
elseif diff<(-math.pi) then
diff=diff+(2*math.pi)
end
yawdir=cart_func:get_sign(diff)
local yawdir=cart_func:get_sign(diff)
local step=self.YAW_STEP
if math.abs(diff)<=self.YAW_STEP then
step=diff