Cvar cleanups.. NULL is now used in place of 0 for callbacks, this should

make Cvar_Get's a lot easier to read.
This commit is contained in:
Joseph Carter 2001-04-10 23:39:30 +00:00
parent 659eb45e96
commit 2bc55b7828
95 changed files with 3080 additions and 631 deletions

View file

@ -961,7 +961,7 @@ int
Net_Log_Init (void)
{
netlogger =
Cvar_Get ("net_logger", "1", CVAR_NONE, 0, "Packet logging/parsing");
Cvar_Get ("net_logger", "1", CVAR_NONE, NULL, "Packet logging/parsing");
// 0 = no logging
// 1 = hex dump only
@ -970,8 +970,10 @@ Net_Log_Init (void)
// 4 = parse/hexdump, skip movement/empty messages
netloglevel =
Cvar_Get ("net_loglevel", "2", CVAR_NONE, 0, "Packet logging/parsing");
Cvar_Get ("net_loglevel", "2", CVAR_NONE, NULL,
"Packet logging/parsing");
Net_LogStart ("qfpacket.log");
return 0;
}