summaryrefslogtreecommitdiff
path: root/game/objectives/goto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/objectives/goto.cpp')
-rw-r--r--game/objectives/goto.cpp2
1 files changed, 1 insertions, 1 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}
{
}