From 68fa0b55a9d9d990d512807ade7c952ab72e0d1e Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Fri, 8 May 2009 09:13:13 +0000 Subject: [PATCH] cvarlist: also display systeminfo and user created flags --- code/qcommon/cvar.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/code/qcommon/cvar.c b/code/qcommon/cvar.c index 1aafb18a..abab4532 100644 --- a/code/qcommon/cvar.c +++ b/code/qcommon/cvar.c @@ -842,6 +842,11 @@ void Cvar_List_f( void ) { } else { Com_Printf(" "); } + if (var->flags & CVAR_SYSTEMINFO) { + Com_Printf("s"); + } else { + Com_Printf(" "); + } if (var->flags & CVAR_USERINFO) { Com_Printf("U"); } else { @@ -872,6 +877,11 @@ void Cvar_List_f( void ) { } else { Com_Printf(" "); } + if (var->flags & CVAR_USER_CREATED) { + Com_Printf("?"); + } else { + Com_Printf(" "); + } Com_Printf (" %s \"%s\"\n", var->name, var->string); }