mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-25 08:22:17 +00:00
Fix: Crash on waypoint selection window
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user