mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-06-02 10:01:54 +00:00
the big cvar value -> int_val audit. seems to work ok
This commit is contained in:
parent
4478b82af4
commit
2682888425
50 changed files with 332 additions and 332 deletions
|
@ -402,7 +402,7 @@ void Cmd_Exec_f (void)
|
|||
Con_Printf ("couldn't exec %s\n",Cmd_Argv(1));
|
||||
return;
|
||||
}
|
||||
if (!Cvar_Command () && (cl_warncmd->value || developer->value))
|
||||
if (!Cvar_Command () && (cl_warncmd->int_val || developer->int_val))
|
||||
Con_Printf ("execing %s\n",Cmd_Argv(1));
|
||||
|
||||
Cbuf_InsertText (f);
|
||||
|
@ -878,7 +878,7 @@ void Cmd_ExecuteString (char *text)
|
|||
}
|
||||
}
|
||||
|
||||
if (cl_warncmd->value || developer->value)
|
||||
if (cl_warncmd->int_val || developer->int_val)
|
||||
Con_Printf ("Unknown command \"%s\"\n", Cmd_Argv(0));
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue