From fab2d34959c52383f6be3cb6634c6776b41f62a8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 13 Oct 2022 20:27:46 +0100 Subject: Standard typedefs for Node --- game/objectives/goto.cpp | 2 +- game/objectives/goto.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'game/objectives') 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 #include -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; -- cgit v1.2.3