mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Mute frogbot clan arena bot bad protocol messages
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3861 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8bc858ec94
commit
11eb30936b
1 changed files with 4 additions and 4 deletions
|
@ -816,7 +816,7 @@ void NPP_NQCheckDest(int dest)
|
|||
sizebuf_t *ndest = QWWriteDest(dest);
|
||||
if (cldest || (writedest && writedest != ndest))
|
||||
{
|
||||
Con_Printf("NQCheckDest: MSG destination changed in the middle of a packet %i.\n", (int)*buffer);
|
||||
Con_DPrintf("NQCheckDest: MSG destination changed in the middle of a packet %i.\n", (int)*buffer);
|
||||
NPP_NQFlush();
|
||||
}
|
||||
writedest = ndest;
|
||||
|
@ -931,7 +931,7 @@ void NPP_NQWriteByte(int dest, qbyte data) //replacement write func (nq to qw)
|
|||
ignoreprotocol = true;
|
||||
break;
|
||||
default:
|
||||
Con_Printf("NQWriteByte: bad protocol %i\n", (int)data);
|
||||
Con_DPrintf("NQWriteByte: bad protocol %i\n", (int)data);
|
||||
protocollen = sizeof(buffer);
|
||||
break;
|
||||
}
|
||||
|
@ -1640,7 +1640,7 @@ void NPP_QWCheckDest(int dest)
|
|||
sizebuf_t *ndest = NQWriteDest(dest);
|
||||
if (cldest || (writedest && writedest != ndest))
|
||||
{
|
||||
Con_Printf("QWCheckDest: MSG destination changed in the middle of a packet %i.\n", (int)*buffer);
|
||||
Con_DPrintf("QWCheckDest: MSG destination changed in the middle of a packet %i.\n", (int)*buffer);
|
||||
NPP_QWFlush();
|
||||
}
|
||||
writedest = ndest;
|
||||
|
@ -1748,7 +1748,7 @@ void NPP_QWWriteByte(int dest, qbyte data) //replacement write func (nq to qw)
|
|||
protocollen = 2;
|
||||
break;
|
||||
default:
|
||||
Con_Printf("QWWriteByte: bad protocol %i\n", (int)data);
|
||||
Con_DPrintf("QWWriteByte: bad protocol %i\n", (int)data);
|
||||
protocollen = sizeof(buffer);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue