summaryrefslogtreecommitdiff
path: root/settings.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-12 16:04:32 +0000
committertruelight <truelight@openttd.org>2004-12-12 16:04:32 +0000
commitb50b664f36a6362d6fe8f1be374617089b21f4ba (patch)
treefca8d0b096bbb58854b3d8bb840a8213aa9f8395 /settings.c
parent88827672ec6fbeea2d91a956d038ffb4ac4df8cf (diff)
downloadopenttd-b50b664f36a6362d6fe8f1be374617089b21f4ba.tar.xz
(svn r1026) -Add: [Network] Added unique id, so in network, each client has an
unique id (generated via md5)
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 2212f06b9..ff22db584 100644
--- a/settings.c
+++ b/settings.c
@@ -731,6 +731,7 @@ static const SettingDesc network_settings[] = {
{"server_password", SDT_STRINGBUF | (lengthof(_network_game_info.server_password) << 16), NULL, &_network_game_info.server_password, NULL},
{"server_name", SDT_STRINGBUF | (lengthof(_network_server_name) << 16), NULL, &_network_server_name, NULL},
{"connect_to_ip", SDT_STRINGBUF | (lengthof(_network_default_ip) << 16), NULL, &_network_default_ip, NULL},
+ {"network_id", SDT_STRINGBUF | (lengthof(_network_unique_id) << 16), NULL, &_network_unique_id, NULL},
{NULL, 0, NULL, NULL, NULL}
};
#endif /* ENABLE_NETWORK */