From 28b23a66437f5897841c7d9ccf6157c30ac9313a Mon Sep 17 00:00:00 2001 From: kiwitree Date: Tue, 30 Apr 2019 21:03:18 +0900 Subject: [PATCH] Fix: Crash on waypoint selection window --- src/station_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/station_gui.cpp b/src/station_gui.cpp index 31da16238e..2bee2d80fb 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -2408,7 +2408,7 @@ struct SelectStationWindow : Window { void OnMouseOver(Point pt, int widget) override { - if (widget != WID_JS_PANEL) { + if (widget != WID_JS_PANEL || T::EXPECTED_FACIL == FACIL_WAYPOINT) { SetViewportCatchmentStation(nullptr, true); return; }