summaryrefslogtreecommitdiff
path: root/settings.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-04-25 13:12:48 +0000
committerDarkvater <darkvater@openttd.org>2005-04-25 13:12:48 +0000
commit6f9c6effaf6f8267a0a29c1cd18cee0890d2de6f (patch)
treeace1e280c7f44fc3ba21c311d84a93d12736b444 /settings.c
parent27dbc4ba0902a163cb7a43258f03381fc8f98c92 (diff)
downloadopenttd-6f9c6effaf6f8267a0a29c1cd18cee0890d2de6f.tar.xz
(svn r2231) - Fix: max_join_time pointing to _network_max_join_time is an uint16, so it should have type SDT_UINT16; fix for revision 2106 (thanks peter1138)
Diffstat (limited to 'settings.c')
-rw-r--r--settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.c b/settings.c
index e1d9dfd22..878b9ad81 100644
--- a/settings.c
+++ b/settings.c
@@ -761,7 +761,7 @@ static const SettingDesc misc_settings[] = {
static const SettingDesc network_settings[] = {
{"sync_freq", SDT_UINT16 | SDT_NOSAVE, (void*)100, &_network_sync_freq, NULL},
{"frame_freq", SDT_UINT8 | SDT_NOSAVE, (void*)0, &_network_frame_freq, NULL},
- {"max_join_time", SDT_UINT, (void*)500, &_network_max_join_time, NULL},
+ {"max_join_time", SDT_UINT16, (void*)500, &_network_max_join_time, NULL},
{"pause_on_join", SDT_BOOL, (void*)false, &_network_pause_on_join, NULL},
{"server_bind_ip", SDT_STRINGBUF | (lengthof(_network_server_bind_ip_host) << 16), "0.0.0.0", &_network_server_bind_ip_host, NULL},
{"server_port", SDT_UINT, (void*)NETWORK_DEFAULT_PORT, &_network_server_port, NULL},