mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
Merge pull request #34 from x6herbius/netcode-reduce-failures
Prevented net send errors from triggering an entire host error
This commit is contained in:
commit
84761e62ff
@ -1412,7 +1412,7 @@ void NET_SendPacketEx( netsrc_t sock, size_t length, const void *data, netadr_t
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Host_Error( "NET_SendPacket: %s to %s\n", NET_ErrorString(), NET_AdrToString( to ));
|
Con_Printf( S_ERROR "NET_SendPacket: %s to %s\n", NET_ErrorString(), NET_AdrToString( to ));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2701,4 +2701,4 @@ void HTTP_Shutdown( void )
|
|||||||
}
|
}
|
||||||
|
|
||||||
http.last_server = 0;
|
http.last_server = 0;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user