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
commit7ba8da9dc7001fe7e61d5c6757193ff13b356da7 (patch)
treea7f0501f9d8bbcd2a5ff4e4033261f870d1164ca /settings_gui.c
parent1b3e626ff93738d4e549833d43f9f7fba7a70a43 (diff)
downloadopenttd-7ba8da9dc7001fe7e61d5c6757193ff13b356da7.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[] = {