summaryrefslogtreecommitdiff
path: root/settings.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-10 21:14:16 +0000
committertron <tron@openttd.org>2004-11-10 21:14:16 +0000
commit872f49ae8a8f1051cce2ed3c5cdc66fb654ade41 (patch)
treeae3d4187734dda8d016a4515d4b9b21427c4be08 /settings.c
parent603618a75b6b55ca46ce015d97d462e2b7f83fb7 (diff)
downloadopenttd-872f49ae8a8f1051cce2ed3c5cdc66fb654ade41.tar.xz
(svn r538) -Feature: Windows snap at each other
This is inspired by [1063636].
Diffstat (limited to 'settings.c')
-rw-r--r--settings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings.c b/settings.c
index 9171a6875..b85cb69f6 100644
--- a/settings.c
+++ b/settings.c
@@ -829,6 +829,7 @@ static const SettingDesc patch_settings[] = {
{"realistic_acceleration",SDT_BOOL, (void*)false, (void*)offsetof(Patches, realistic_acceleration), NULL},
{"toolbar_pos", SDT_UINT8, (void*)0, (void*)offsetof(Patches, toolbar_pos), NULL},
+ {"window_snap_radius", SDT_UINT8, (void*)10, (void*)offsetof(Patches, window_snap_radius), NULL},
{"max_trains", SDT_UINT8, (void*)80, (void*)offsetof(Patches, max_trains), NULL},
{"max_roadveh", SDT_UINT8, (void*)80, (void*)offsetof(Patches, max_roadveh), NULL},