1
0
Fork 0

Mobs: Use default pathfinder

This commit is contained in:
Wuzzy 2017-06-02 23:46:08 +02:00
parent d5814195d8
commit 0411a9c7fa
1 changed files with 1 additions and 1 deletions

View File

@ -930,7 +930,7 @@ function smart_mobs(self, s, p, dist, dtime)
p1.y = floor(p1.y + 0.5)
p1.z = floor(p1.z + 0.5)
self.path.way = minetest.find_path(s, p1, 16, 2, 6, "Dijkstra")
self.path.way = minetest.find_path(s, p1, 16, 2, 6)
-- attempt to unstick mob that is "daydreaming"
self.object:setpos({