Fixed cl_fraglog and fs_fraglog cvar for being archived.

Fixed fraglogging when playing demos.
This commit is contained in:
Robin Redeker 2002-03-15 13:31:05 +00:00
parent bde0f94d1a
commit 54037f1115
2 changed files with 3 additions and 3 deletions

View file

@ -1342,7 +1342,7 @@ CL_ParseServerMessage (void)
automatic fraglogging (by elmex)
XXX: Should this _really_ called here?
*/
Sbar_LogFrags();
if(!cls.demoplayback) Sbar_LogFrags();
break;
case svc_finale:

View file

@ -250,9 +250,9 @@ Sbar_Init (void)
cl_showscoresuid = Cvar_Get ("cl_showscoresuid", "0", CVAR_NONE, NULL,
"show uid instead of ping on scores");
fs_fraglog = Cvar_Get ("fs_fraglog", "qw-scores.log", CVAR_NONE, NULL,
fs_fraglog = Cvar_Get ("fs_fraglog", "qw-scores.log", CVAR_ARCHIVE, NULL,
"filename of the automatic frag-log");
cl_fraglog = Cvar_Get ("cl_fraglog", "0", CVAR_NONE, NULL,
cl_fraglog = Cvar_Get ("cl_fraglog", "0", CVAR_ARCHIVE, NULL,
"automatic fraglogging, non-zero value will switch it on");
}