disable logging for outgoing packets until I come up with a clean way of

enabling it
This commit is contained in:
Bill Currie 2004-02-19 23:11:15 +00:00
parent 0e1a9e5082
commit 2262d02b1a
2 changed files with 2 additions and 5 deletions

View file

@ -157,8 +157,10 @@ qboolean Netchan_CanReliable (netchan_t *chan);
static inline void
Netchan_SendPacket (int length, void *data, netadr_t to)
{
#if 0
if (net_packetlog->int_val)
Log_Outgoing_Packet(data, length, 1);
#endif
NET_SendPacket (length, data, to);
}

View file

@ -55,11 +55,6 @@ static plugin_list_t server_plugin_list[] = {
SERVER_PLUGIN_LIST
};
cvar_t *net_packetlog;
void Log_Outgoing_Packet (const char *p, int len, int has_sequence);
void Log_Outgoing_Packet (const char *p, int len, int has_sequence) { }
cbuf_t *qtv_cbuf;
cvar_t *qtv_console_plugin;