(svn r2157) - Feature (request): [ 1166978 ] Focus keyboard on input-box in Multiplayer Menu
- Feature: If the to be started server is using a password, draw a red '*' after the set password button to remind the user.
This commit is contained in:
@@ -925,11 +925,7 @@ static void NetworkInitGameInfo(void)
|
||||
_network_game_info.map_height = MapSizeY();
|
||||
_network_game_info.map_set = _opt.landscape;
|
||||
|
||||
if (_network_game_info.server_password[0] == '\0') {
|
||||
_network_game_info.use_password = 0;
|
||||
} else {
|
||||
_network_game_info.use_password = 1;
|
||||
}
|
||||
_network_game_info.use_password = (_network_server_password[0] == '\0') ? 0 : 1;
|
||||
|
||||
// We use _network_client_info[MAX_CLIENT_INFO - 1] to store the server-data in it
|
||||
// The index is NETWORK_SERVER_INDEX ( = 1)
|
||||
|
Reference in New Issue
Block a user