cvars now sport a callback function that gets called whenever the cvar changes

or on initial get.
This commit is contained in:
Bill Currie 2001-03-31 01:02:52 +00:00
parent 4162243287
commit e939ccc40a
101 changed files with 680 additions and 669 deletions

View file

@ -93,5 +93,5 @@ COM_Init (void)
void
COM_Init_Cvars (void)
{
registered = Cvar_Get ("registered", "0", CVAR_NONE, "Is the game the registered version. 1 yes 0 no");
registered = Cvar_Get ("registered", "0", CVAR_NONE, 0, "Is the game the registered version. 1 yes 0 no");
}