Fixes for ENet compilation
This was SVN commit r6146.
This commit is contained in:
parent
b488340f22
commit
d790210c11
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user