diff --git a/engine/client/cl_demo.c b/engine/client/cl_demo.c index ff0786a6b..1a87b21a4 100644 --- a/engine/client/cl_demo.c +++ b/engine/client/cl_demo.c @@ -248,7 +248,6 @@ int readdemobytes(int *readpos, void *data, int len) } else if (i < 0) { //0 means no data available yet - printf("VFS_READ failed\n"); endofdemo = true; return 0; } diff --git a/engine/server/sv_nchan.c b/engine/server/sv_nchan.c index 178c3e3e3..1789cec5d 100644 --- a/engine/server/sv_nchan.c +++ b/engine/server/sv_nchan.c @@ -44,9 +44,10 @@ void ClientReliableCheckBlock(client_t *cl, int maxsize) { if (cl->num_backbuf == MAX_BACK_BUFFERS) { - Con_Printf ("WARNING: MAX_BACK_BUFFERS for %s\n", cl->name); cl->backbuf.cursize = 0; // don't overflow without allowoverflow set cl->netchan.message.overflowed = true; // this will drop the client + if (!cl->drop) + Con_Printf ("WARNING: MAX_BACK_BUFFERS for %s\n", cl->name); cl->drop = true; return; } @@ -77,7 +78,8 @@ void ClientReliable_FinishWrite(client_t *cl) if (cl->backbuf.overflowed) { - Con_TPrintf (STL_MESSAGEOVERFLOW,cl->num_backbuf,cl->name); + if (!cl->netchan.message.overflowed) + Con_TPrintf (STL_MESSAGEOVERFLOW,cl->num_backbuf,cl->name); cl->netchan.message.overflowed = true; // this will drop the client } }