diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/global.gd | 2 | ||||
-rw-r--r-- | client/map/items/rice.res | bin | 32391 -> 32358 bytes |
2 files changed, 2 insertions, 0 deletions
diff --git a/client/global.gd b/client/global.gd index d944673c..8bc119e1 100644 --- a/client/global.gd +++ b/client/global.gd @@ -316,6 +316,8 @@ static func interpolate(current, target, dt): return target + (current - target) * exp(-dt) static func interpolate_angle(current, target, dt): + current = fmod(current, PI * 2) + target = fmod(target, PI * 2) if abs(target - current) > PI: if target < 0: target += PI * 2 diff --git a/client/map/items/rice.res b/client/map/items/rice.res Binary files differindex c9bbd9a9..f9a6a81c 100644 --- a/client/map/items/rice.res +++ b/client/map/items/rice.res |