Simplify CV_IsSetToDefault fastcmp check
This commit is contained in:
parent
5351e89677
commit
0006504f3b
1 changed files with 1 additions and 1 deletions
|
|
@ -2053,7 +2053,7 @@ void CV_ResetCheatNetVars(void)
|
|||
// Returns true if the variable's current value is its default value
|
||||
boolean CV_IsSetToDefault(consvar_t *v)
|
||||
{
|
||||
return (!(!fastcmp(v->defaultvalue, v->string)));
|
||||
return fastcmp(v->defaultvalue, v->string);
|
||||
}
|
||||
|
||||
// If any cheats CVars are not at their default settings, return true.
|
||||
|
|
|
|||
Loading…
Reference in a new issue