From b50b664f36a6362d6fe8f1be374617089b21f4ba Mon Sep 17 00:00:00 2001 From: truelight Date: Sun, 12 Dec 2004 16:04:32 +0000 Subject: (svn r1026) -Add: [Network] Added unique id, so in network, each client has an unique id (generated via md5) --- settings.c | 1 + 1 file changed, 1 insertion(+) (limited to 'settings.c') 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 */ -- cgit v1.2.3-54-g00ecf