Simplify CV_IsSetToDefault fastcmp check

This commit is contained in:
NepDisk 2025-12-11 13:27:41 -05:00
parent 5351e89677
commit 0006504f3b

View file

@ -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.