1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-08 03:20:21 +01:00

Removed a global variable in carts

This commit is contained in:
LeMagnesium 2015-01-16 23:37:48 +01:00
parent 330d63ae96
commit 4a25fa3f89

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