engine: common: don't print svc/clc_nop with net_recv/send_debug
This commit is contained in:
parent
667bedab82
commit
267a70d621
1 changed files with 3 additions and 2 deletions
|
@ -338,7 +338,7 @@ void MSG_WriteCmdExt( sizebuf_t *sb, int cmd, netsrc_t type, const char *name )
|
||||||
}
|
}
|
||||||
else if( type == NS_CLIENT )
|
else if( type == NS_CLIENT )
|
||||||
{
|
{
|
||||||
if( cmd >= 0 && cmd <= clc_lastmsg )
|
if( cmd >= 0 && cmd <= clc_lastmsg && cmd != clc_nop )
|
||||||
{
|
{
|
||||||
Con_Printf( "^1cl^7 (%d) write: %s\n", sb->iCurBit, clc_strings[cmd] );
|
Con_Printf( "^1cl^7 (%d) write: %s\n", sb->iCurBit, clc_strings[cmd] );
|
||||||
}
|
}
|
||||||
|
@ -574,7 +574,8 @@ int MSG_ReadCmd( sizebuf_t *sb, netsrc_t type )
|
||||||
{
|
{
|
||||||
if( type == NS_SERVER )
|
if( type == NS_SERVER )
|
||||||
{
|
{
|
||||||
Con_Printf( "^1cl^7 read: %s\n", CL_MsgInfo( cmd ));
|
if( cmd != svc_nop )
|
||||||
|
Con_Printf( "^1cl^7 read: %s\n", CL_MsgInfo( cmd ));
|
||||||
}
|
}
|
||||||
else if( cmd >= 0 && cmd <= clc_lastmsg )
|
else if( cmd >= 0 && cmd <= clc_lastmsg )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue