openttd.c
changeset 4829 9a0a034d0f55
parent 4712 4335ad42e163
child 4830 668bcb0a30b2
equal deleted inserted replaced
4828:4e6f53fa10cb 4829:9a0a034d0f55
   507 
   507 
   508 #ifdef ENABLE_NETWORK
   508 #ifdef ENABLE_NETWORK
   509 	if (_network_available) {
   509 	if (_network_available) {
   510 		// Shut down the network and close any open connections
   510 		// Shut down the network and close any open connections
   511 		NetworkDisconnect();
   511 		NetworkDisconnect();
   512 		NetworkUDPClose();
       
   513 		NetworkShutDown();
       
   514 	}
   512 	}
   515 #endif /* ENABLE_NETWORK */
   513 #endif /* ENABLE_NETWORK */
   516 
   514 
   517 	_video_driver->stop();
   515 	_video_driver->stop();
   518 	_music_driver->stop();
   516 	_music_driver->stop();