(svn r16601) -Fix [FS#2880]: try 2... hopefully better this time

This commit is contained in:
rubidium
2009-06-19 20:26:18 +00:00
parent 83f8d52a67
commit 9b156c1bd4
10 changed files with 27 additions and 31 deletions

View File

@@ -50,7 +50,7 @@ NetworkClientSocket::~NetworkClientSocket()
* @return the new status
* TODO: needs to be splitted when using client and server socket packets
*/
NetworkRecvStatus NetworkClientSocket::CloseConnection()
NetworkRecvStatus NetworkClientSocket::CloseConnection(bool error)
{
/* Clients drop back to the main menu */
if (!_network_server && _networking) {
@@ -62,7 +62,7 @@ NetworkRecvStatus NetworkClientSocket::CloseConnection()
return NETWORK_RECV_STATUS_CONN_LOST;
}
NetworkCloseClient(this);
NetworkCloseClient(this, error);
return NETWORK_RECV_STATUS_OKAY;
}