summaryrefslogtreecommitdiff
path: root/settings_gui.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2005-11-09 07:25:55 +0000
committerpeter1138 <peter1138@openttd.org>2005-11-09 07:25:55 +0000
commit350f0f2cdb66364ca1b6116b77ef249b54f58421 (patch)
treea7f0501f9d8bbcd2a5ff4e4033261f870d1164ca /settings_gui.c
parent5e278b7ec3adfa6f0b65f3cff5769943166bef22 (diff)
downloadopenttd-350f0f2cdb66364ca1b6116b77ef249b54f58421.tar.xz
(svn r3157) - Feature: Added patch option to link the terraform toolbar to the rail, road, water and airport toolbars. If enabled, the terraform toolbar will open and close with those toolbars.
Diffstat (limited to 'settings_gui.c')
-rw-r--r--settings_gui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings_gui.c b/settings_gui.c
index 223517890..c12dd3e0e 100644
--- a/settings_gui.c
+++ b/settings_gui.c
@@ -679,6 +679,8 @@ static const PatchEntry _patches_ui[] = {
{PE_INT32, 0, STR_CONFIG_PATCHES_MAP_X, "map_x", &_patches.map_x, 6, 11, 1, NULL},
{PE_INT32, 0, STR_CONFIG_PATCHES_MAP_Y, "map_y", &_patches.map_y, 6, 11, 1, NULL},
+
+ {PE_BOOL, PF_PLAYERBASED, STR_CONFIG_PATCHES_LINK_TERRAFORM_TOOLBAR, "link_terraform_toolbar", &_patches.link_terraform_toolbar, 0, 1, 1, NULL},
};
static const PatchEntry _patches_construction[] = {