mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-03-14 18:12:30 +01:00
fix only hostile mobs using smooth turning
This commit is contained in:
@ -3722,7 +3722,7 @@ local mob_step = function(self, dtime)
|
||||
end
|
||||
|
||||
-- smooth rotation by ThomasMonroe314
|
||||
if self._turn_to and (not self.type == "monster" and self.state == "attack") then
|
||||
if self._turn_to then
|
||||
set_yaw(self, self._turn_to, .1)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user