[Fix] Should fix the escort ai from blowing to pieces.

This commit is contained in:
Allanis 2014-03-10 20:16:14 +00:00
parent 652ebbb3d0
commit b3ad2671c0

View File

@ -25,7 +25,7 @@ function escort()
end end
dir = ai.face(target) dir = ai.face(target)
dist = ai.dist(ai.pos(target)) dist = ai.dist(target)
bdist = ai.minbrakedist() bdist = ai.minbrakedist()
-- Close enough. -- Close enough.
@ -62,7 +62,7 @@ function flyback()
target = mem.escort target = mem.escort
dir = ai.face(target) dir = ai.face(target)
dist = ai.dist(ai.pos(target)) dist = ai.dist(target)
bdist = ai.minbrakedist() bdist = ai.minbrakedist()
-- Try to brake. -- Try to brake.