summaryrefslogtreecommitdiff
path: root/game/objectives
diff options
context:
space:
mode:
Diffstat (limited to 'game/objectives')
-rw-r--r--game/objectives/goto.cpp2
-rw-r--r--game/objectives/goto.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/game/objectives/goto.cpp b/game/objectives/goto.cpp
index 8581a2d..2d9ce75 100644
--- a/game/objectives/goto.cpp
+++ b/game/objectives/goto.cpp
@@ -9,7 +9,7 @@
#include <numeric>
#include <vector>
-GoTo::GoTo(Orders * o, const Link::End & cp, float d, const NodePtr & dest) :
+GoTo::GoTo(Orders * o, const Link::End & cp, float d, const Node::Ptr & dest) :
Objective(o), links(RouteWalker().findRouteTo(cp, dest)), startDist {d}
{
}
diff --git a/game/objectives/goto.h b/game/objectives/goto.h
index acd5e48..ad51ecf 100644
--- a/game/objectives/goto.h
+++ b/game/objectives/goto.h
@@ -8,7 +8,7 @@ class Orders;
class GoTo : public Objective {
public:
- GoTo(Orders * os, const Link::End &, float, const NodePtr & dest);
+ GoTo(Orders * os, const Link::End &, float, const Node::Ptr & dest);
[[nodiscard]] ActivityPtr createActivity() const override;
[[nodiscard]] Link::Next navigate(Link::Nexts::const_iterator, Link::Nexts::const_iterator) const override;