1
0
forked from 0ad/0ad

Fixes for ENet compilation

This was SVN commit r6146.
This commit is contained in:
Ykkrosh 2008-06-28 20:19:13 +00:00
parent b488340f22
commit d790210c11

View File

@ -185,7 +185,7 @@ bool CNetHost::Disconnect( CNetSession* pSession )
assert( pSession->m_Peer );
// Disconnect peer
enet_peer_disconnect( pSession->m_Peer );
enet_peer_disconnect( pSession->m_Peer, 0 );
// Allow up to 3 seconds for the disconnect to succeed
while ( enet_host_service( m_Host, &event, 5000 ) > 0 )