(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:
Darkvater
2005-04-06 18:44:34 +00:00
parent 6a341663cc
commit f208f5fa10
2 changed files with 20 additions and 26 deletions

View File

@@ -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)