summaryrefslogtreecommitdiff
path: root/src/dock_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r--src/dock_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp
index 2c837f425..b1d79b853 100644
--- a/src/dock_gui.cpp
+++ b/src/dock_gui.cpp
@@ -136,12 +136,12 @@ struct BuildDocksToolbarWindow : Window {
BuildDocksToolbarWindow(const WindowDesc *desc, WindowNumber window_number) : Window(desc, window_number)
{
this->FindWindowPlacementAndResize(desc);
- if (_patches.link_terraform_toolbar) ShowTerraformToolbar(this);
+ if (_settings.gui.link_terraform_toolbar) ShowTerraformToolbar(this);
}
~BuildDocksToolbarWindow()
{
- if (_patches.link_terraform_toolbar) DeleteWindowById(WC_SCEN_LAND_GEN, 0);
+ if (_settings.gui.link_terraform_toolbar) DeleteWindowById(WC_SCEN_LAND_GEN, 0);
}
virtual void OnPaint()
@@ -263,7 +263,7 @@ public:
virtual void OnPaint()
{
- int rad = (_patches.modified_catchment) ? CA_DOCK : CA_UNMODIFIED;
+ int rad = (_settings.station.modified_catchment) ? CA_DOCK : CA_UNMODIFIED;
this->DrawWidgets();