ttd.c
changeset 1329 6988419aa6f0
parent 1317 3c90086ff34f
child 1349 15979a2e9001
equal deleted inserted replaced
1328:eacd8225ed42 1329:6988419aa6f0
   645 	GenerateWorld(1, 6, 6); // Make the viewport initialization happy
   645 	GenerateWorld(1, 6, 6); // Make the viewport initialization happy
   646 
   646 
   647 #ifdef ENABLE_NETWORK
   647 #ifdef ENABLE_NETWORK
   648 	if ((network) && (_network_available)) {
   648 	if ((network) && (_network_available)) {
   649 		if (network_conn != NULL) {
   649 		if (network_conn != NULL) {
   650 			const byte *port = NULL;
   650 			const char *port = NULL;
   651 			const byte *player = NULL;
   651 			const char *player = NULL;
   652 			uint16 rport;
   652 			uint16 rport;
   653 
   653 
   654 			rport = NETWORK_DEFAULT_PORT;
   654 			rport = NETWORK_DEFAULT_PORT;
   655 
   655 
   656 			ParseConnectionString(&player, &port, network_conn);
   656 			ParseConnectionString(&player, &port, network_conn);