diff options
Diffstat (limited to 'src/waypoint_gui.cpp')
-rw-r--r-- | src/waypoint_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp index 984b82b64..10f067677 100644 --- a/src/waypoint_gui.cpp +++ b/src/waypoint_gui.cpp @@ -35,7 +35,7 @@ private: public: WaypointWindow(const WindowDesc *desc, WindowNumber window_number) : Window(desc, window_number) { - this->wp = GetWaypoint(this->window_number); + this->wp = Waypoint::Get(this->window_number); if (this->wp->owner != OWNER_NONE) this->owner = this->wp->owner; this->flags4 |= WF_DISABLE_VP_SCROLL; |