Make mob walk velocity be more normal

fixes: #2819
epCode 2022-10-19 21:30:03 +00:00 committed by Gitea
parent 3e56ca1843
commit 14e7fea6c2

@ -3931,7 +3931,7 @@ local mob_step = function(self, dtime)
if not self.animation.walk_speed then
self.animation.walk_speed = 25
end
self.object:set_animation_frame_speed((v2/self.walk_velocity)*self.animation.walk_speed*self.frame_speed_multiplier)
self.object:set_animation_frame_speed((v2/self.run_velocity)*self.animation.walk_speed*self.frame_speed_multiplier)
end
--set_speed