mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 16:39:33 +01:00
fix mobs shaking a lot
This commit is contained in:
parent
c500dc98f9
commit
090c5b086a
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ local set_yaw = function(self, yaw, delay, dtime)
|
|||
ddtime = dtime
|
||||
end
|
||||
|
||||
if math.abs(target_shortest_path) > 120*ddtime then
|
||||
if math.abs(target_shortest_path) > 200*ddtime then
|
||||
if target_shortest_path > 0 then
|
||||
self.object:set_yaw(self.object:get_yaw()+3*ddtime)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue