changeset 1899 | 98317b840d7b |
parent 1832 | 84c9fb08f7eb |
child 2055 | 9361b56db8ba |
--- a/network.c Fri Jun 03 22:43:59 2005 +0000 +++ b/network.c Sat Jun 04 07:35:12 2005 +0000 @@ -925,7 +925,7 @@ _network_game_info.map_height = MapSizeY(); _network_game_info.map_set = _opt.landscape; - _network_game_info.use_password = (_network_server_password[0] == '\0') ? 0 : 1; + _network_game_info.use_password = (_network_server_password[0] != '\0'); // We use _network_client_info[MAX_CLIENT_INFO - 1] to store the server-data in it // The index is NETWORK_SERVER_INDEX ( = 1)