diff options
Diffstat (limited to 'NorthstarDedicatedTest')
-rw-r--r-- | NorthstarDedicatedTest/convar.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/NorthstarDedicatedTest/convar.cpp b/NorthstarDedicatedTest/convar.cpp index 0f4eeba7..7023e13c 100644 --- a/NorthstarDedicatedTest/convar.cpp +++ b/NorthstarDedicatedTest/convar.cpp @@ -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) |