From ae75d59d0b49e29b4afaf93a426eae3ba28a5676 Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Fri, 25 Feb 2022 00:15:54 +0000 Subject: remove unneeded unstable cvar debug asserts --- NorthstarDedicatedTest/convar.cpp | 9 --------- 1 file changed, 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) -- cgit v1.2.3