mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
Fix issue #77 and improve findPath
This commit is contained in:
@@ -156,4 +156,19 @@ OsTypes = {
|
||||
OtclientMac = 12
|
||||
}
|
||||
|
||||
PathFindResults = {
|
||||
Ok = 0,
|
||||
Position = 1,
|
||||
Impossipble = 2,
|
||||
TooFar = 3,
|
||||
NoWay = 4
|
||||
}
|
||||
|
||||
PathFindFlags = {
|
||||
AllowNullTiles = 1,
|
||||
AllowCreatures = 2,
|
||||
AllowNonPathable = 4,
|
||||
AllowNonWalkable = 8
|
||||
}
|
||||
|
||||
-- @}
|
||||
|
Reference in New Issue
Block a user