mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-16 11:30:17 -07:00
set path isMoveNear if we truncate it
This commit is contained in:
parent
f7b627d1ab
commit
2641fdbb68
1 changed files with 2 additions and 0 deletions
|
|
@ -241,6 +241,8 @@ internal constructor() : Pathfinder() {
|
||||||
path.points.add(Point(absX, absY))
|
path.points.add(Point(absX, absY))
|
||||||
}
|
}
|
||||||
path.setSuccesful(true)
|
path.setSuccesful(true)
|
||||||
|
if (end != dest)
|
||||||
|
path.isMoveNear = true
|
||||||
return path
|
return path
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue