diff options
author | truelight <truelight@openttd.org> | 2004-12-12 16:04:32 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-12 16:04:32 +0000 |
commit | 0e79314353e7cf50677125c362835aabc475631c (patch) | |
tree | fca8d0b096bbb58854b3d8bb840a8213aa9f8395 /settings.c | |
parent | 5221f35182beb396615dc8bcd2e902828a83aa65 (diff) | |
download | openttd-0e79314353e7cf50677125c362835aabc475631c.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.c | 1 |
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 */ |