Skip to content

Commit

Permalink
Merge pull request #34 from x6herbius/netcode-reduce-failures
Browse files Browse the repository at this point in the history
Prevented net send errors from triggering an entire host error
  • Loading branch information
a1batross committed Apr 1, 2019
2 parents 77b23ee + 60a1c4f commit 84761e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/common/net_ws.c
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,7 @@ void NET_SendPacketEx( netsrc_t sock, size_t length, const void *data, netadr_t
}
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 ));
}
}

Expand Down Expand Up @@ -2701,4 +2701,4 @@ void HTTP_Shutdown( void )
}

http.last_server = 0;
}
}

0 comments on commit 84761e6

Please sign in to comment.