diff options
Diffstat (limited to 'src/waypoint_gui.cpp')
-rw-r--r-- | src/waypoint_gui.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp index 10f067677..9d0ac7189 100644 --- a/src/waypoint_gui.cpp +++ b/src/waypoint_gui.cpp @@ -144,6 +144,5 @@ static const WindowDesc _waypoint_view_desc( void ShowWaypointWindow(const Waypoint *wp) { - if (!wp->IsValid()) return; // little safety AllocateWindowDescFront<WaypointWindow>(&_waypoint_view_desc, wp->index); } |