remove unneeded unstable cvar debug asserts

This commit is contained in:
BobTheBob 2022-02-25 00:15:54 +00:00
parent f2b56ee582
commit ae75d59d0b
1 changed files with 0 additions and 9 deletions

View File

@ -216,9 +216,6 @@ void ConVar::SetValue(int nValue)
return;
}
// Only valid for root ConVars.
assert(m_pParent == this);
float flValue = (float)nValue;
// Check bounds.
@ -251,9 +248,6 @@ void ConVar::SetValue(float flValue)
return;
}
// Only valid for root ConVars.
assert(m_pParent == this);
// Check bounds.
ClampValue(flValue);
@ -285,9 +279,6 @@ void ConVar::SetValue(const char* pszValue)
char szTempValue[32]{};
const char* pszNewValue{};
// Only valid for root convars.
assert(m_pParent == this);
float flOldValue = m_Value.m_fValue;
pszNewValue = (char*)pszValue;
if (!pszNewValue)