diff options
-rw-r--r-- | src/qcommon/net_chan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qcommon/net_chan.c b/src/qcommon/net_chan.c index 422f64fc..0814dd43 100644 --- a/src/qcommon/net_chan.c +++ b/src/qcommon/net_chan.c @@ -175,7 +175,8 @@ void Netchan_Transmit( netchan_t *chan, int length, const byte *data ) { byte send_buf[MAX_PACKETLEN]; if ( length > MAX_MSGLEN ) { - Com_Error( ERR_DROP, "Netchan_Transmit: length = %i", length ); + Com_Printf("^3Netchan_Transmit: truncated a message of length %i\n", length); + length = MAX_MSGLEN; } chan->unsentFragmentStart = 0; |