mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-04-07 15:31:10 +00:00
Cvar_SetValue: cvar_t *var_name is confusing, renamed it to *var
This commit is contained in:
parent
c85a468602
commit
ed0b3b616b
1 changed files with 2 additions and 2 deletions
|
@ -229,7 +229,7 @@ Cvar_SetValue
|
|||
============
|
||||
*/
|
||||
// 1999-09-07 weird cvar zeros fix by Maddes
|
||||
void Cvar_SetValue (cvar_t *var_name, float value)
|
||||
void Cvar_SetValue (cvar_t *var, float value)
|
||||
{
|
||||
char val[32];
|
||||
int i;
|
||||
|
@ -239,7 +239,7 @@ void Cvar_SetValue (cvar_t *var_name, float value)
|
|||
{
|
||||
val[i] = 0;
|
||||
}
|
||||
Cvar_Set (var_name, val);
|
||||
Cvar_Set (var, val);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue