mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-01-10 18:47:31 +01:00
Implement self walking velocity for walking state
This commit is contained in:
parent
9d6d042ee3
commit
15ea9c1c71
@ -146,7 +146,7 @@ local state_execution = function(self,dtime)
|
||||
--only move forward if path is clear
|
||||
if node_in_front_of == 0 or node_in_front_of == 1 then
|
||||
--set the velocity of the mob
|
||||
mobs.set_velocity(self,1)
|
||||
mobs.set_velocity(self,self.walk_velocity)
|
||||
end
|
||||
|
||||
--print("walk")
|
||||
|
Loading…
Reference in New Issue
Block a user