mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
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:
parent
659eb45e96
commit
2bc55b7828
95 changed files with 3080 additions and 631 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue