diff options
author | Ćukasz Hryniuk <code@hryniuk.pl> | 2020-07-27 18:37:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-27 17:37:47 +0100 |
commit | 3effad0beabe4a7ce4ddf5b55bab787e2d93fea3 (patch) | |
tree | e507cf3924d6aa394e2321f4fde8e6f65922bcf1 /src/rail_gui.cpp | |
parent | 452e1e332848cd0aa297a1d1eee0f23167313554 (diff) | |
download | openttd-3effad0beabe4a7ce4ddf5b55bab787e2d93fea3.tar.xz |
Fix: Properly invalidate mouse-over station coverage highlight (#8263)
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index c0a3f4457..788189dcc 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -1319,6 +1319,7 @@ public: this->SetWidgetLoweredState(WID_BRAS_HIGHLIGHT_ON, _settings_client.gui.station_show_coverage); if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP); this->SetDirty(); + SetViewportCatchmentStation(nullptr, true); break; case WID_BRAS_NEWST_LIST: { |