Skip to content
Snippets Groups Projects
Commit bc637afd authored by James R.'s avatar James R.
Browse files

Show revert value of cvar with help command

parent c920e688
No related branches found
No related tags found
No related merge requests found
......@@ -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
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment