(svn r6753) -Codechange: Move some function declerations from functions.h into network.h

and let NetworkDisconnect handle all shutdown related operations.
This commit is contained in:
Darkvater
2006-10-12 14:48:36 +00:00
parent 110fc94cb5
commit 15bf48acfd
4 changed files with 12 additions and 12 deletions

View File

@@ -509,8 +509,6 @@ int ttd_main(int argc, char *argv[])
if (_network_available) {
// Shut down the network and close any open connections
NetworkDisconnect();
NetworkUDPClose();
NetworkShutDown();
}
#endif /* ENABLE_NETWORK */