Show revert value of cvar with help command

This commit is contained in:
James R 2020-10-09 16:28:03 -07:00
parent b67807dd04
commit 4b5cb8025b
1 changed files with 3 additions and 0 deletions

View File

@ -875,6 +875,9 @@ static void COM_Help_f(void)
CONS_Printf(" Current value: %s\n", cvar->string);
else
CONS_Printf(" Current value: %d\n", cvar->value);
if (cvar->revert.v.string != NULL && strcmp(cvar->revert.v.string, cvar->string) != 0)
CONS_Printf(" Value before netgame: %s\n", cvar->revert.v.string);
}
else
{