aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/convar.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-02-25 00:15:54 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-02-25 00:15:54 +0000
commitae75d59d0b49e29b4afaf93a426eae3ba28a5676 (patch)
tree2bc68b1b98990fe0255d0c96e72db6fd0e2b282f /NorthstarDedicatedTest/convar.cpp
parentf2b56ee58261af3052ed63979b7c3f93ea715edb (diff)
downloadNorthstarLauncher-ae75d59d0b49e29b4afaf93a426eae3ba28a5676.tar.gz
NorthstarLauncher-ae75d59d0b49e29b4afaf93a426eae3ba28a5676.zip
remove unneeded unstable cvar debug asserts
Diffstat (limited to 'NorthstarDedicatedTest/convar.cpp')
-rw-r--r--NorthstarDedicatedTest/convar.cpp9
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)