equal
deleted
inserted
replaced
478 |
478 |
479 rport = NETWORK_DEFAULT_PORT; |
479 rport = NETWORK_DEFAULT_PORT; |
480 |
480 |
481 ParseConnectionString(&player, &port, network_conn); |
481 ParseConnectionString(&player, &port, network_conn); |
482 |
482 |
483 if (player != NULL) _network_playas = atoi(player); |
483 if (player != NULL) { |
|
484 _network_playas = atoi(player); |
|
485 if (_network_playas == 0) _network_playas = PLAYER_NEW_COMPANY; |
|
486 } |
484 if (port != NULL) rport = atoi(port); |
487 if (port != NULL) rport = atoi(port); |
485 |
488 |
486 LoadIntroGame(); |
489 LoadIntroGame(); |
487 _switch_mode = SM_NONE; |
490 _switch_mode = SM_NONE; |
488 NetworkClientConnectGame(network_conn, rport); |
491 NetworkClientConnectGame(network_conn, rport); |