equal
deleted
inserted
replaced
663 ci = &_network_client_info[p2]; |
663 ci = &_network_client_info[p2]; |
664 ci->client_playas = p->index + 1; |
664 ci->client_playas = p->index + 1; |
665 NetworkUpdateClientInfo(ci->client_index); |
665 NetworkUpdateClientInfo(ci->client_index); |
666 |
666 |
667 if (ci->client_playas != 0 && ci->client_playas <= MAX_PLAYERS) { |
667 if (ci->client_playas != 0 && ci->client_playas <= MAX_PLAYERS) { |
|
668 _network_player_info[p->index].months_empty = 0; |
|
669 |
668 memcpy(_decode_parameters, ci->client_name, 32); |
670 memcpy(_decode_parameters, ci->client_name, 32); |
669 /* XXX - What are the consequents of this? It is needed, but is it bad? */ |
671 /* XXX - What are the consequents of this? It is needed, but is it bad? */ |
670 _docommand_recursive = 0; |
672 _docommand_recursive = 0; |
671 DoCommandP(0, ci->client_playas-1, 0, NULL, CMD_CHANGE_PRESIDENT_NAME | CMD_MSG(STR_700D_CAN_T_CHANGE_PRESIDENT)); |
673 DoCommandP(0, ci->client_playas-1, 0, NULL, CMD_CHANGE_PRESIDENT_NAME | CMD_MSG(STR_700D_CAN_T_CHANGE_PRESIDENT)); |
672 } |
674 } |