mirror of
https://github.com/edubart/otclient.git
synced 2025-11-03 12:16:23 +01:00
Fixes and improvements in find path
This commit is contained in:
@@ -209,7 +209,7 @@ public:
|
||||
std::vector<AnimatedTextPtr> getAnimatedTexts() { return m_animatedTexts; }
|
||||
std::vector<StaticTextPtr> getStaticTexts() { return m_staticTexts; }
|
||||
|
||||
std::tuple<std::vector<Otc::Direction>, Otc::PathFindResult> findPath(const Position& start, const Position& goal, int maxSteps, int flags = 0);
|
||||
std::tuple<std::vector<Otc::Direction>, Otc::PathFindResult> findPath(const Position& start, const Position& goal, int maxComplexity, int flags = 0);
|
||||
|
||||
private:
|
||||
void removeUnawareThings();
|
||||
|
||||
Reference in New Issue
Block a user