ret = NET_GetMessage (host_client->netconnection);
if (ret == -1)
{
- Sys_Printf ("SV_ReadClientMessage: NET_GetMessage failed\n");
+ Con_Printf ("SV_ReadClientMessage: NET_GetMessage failed\n");
return false;
}
if (!ret)
if (msg_badread)
{
- Sys_Printf ("SV_ReadClientMessage: badread\n");
+ Con_Printf ("SV_ReadClientMessage: badread\n");
return false;
}
goto nextmsg;
default:
- Sys_Printf ("SV_ReadClientMessage: unknown command char %i\n", cmd);
+ Con_Printf ("SV_ReadClientMessage: unknown command char %i\n", cmd);
return false;
case clc_nop:
Cmd_ExecuteString (s, src_client);
}
else
- Con_DPrintf("%s tried to %s\n", host_client->name, s);
+ Con_Printf("%s tried to %s\n", host_client->name, s);
break;
case clc_disconnect:
if (!SV_ReadClientMessage ())
{
- // client misbehaved...
- SV_DropClient (false);
+ SV_DropClient (false); // client misbehaved...
continue;
}