1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 20:16:10 +08:00

Update ICvar interface

This commit is contained in:
GAMMACASE
2025-05-12 20:31:06 +03:00
parent d17c1c9ed3
commit f68cb313fe
3 changed files with 27 additions and 10 deletions

View File

@ -590,7 +590,7 @@ void ConVarRefAbstract::QueueSetValueInternal( CSplitScreenSlot slot, CVValue_t
TypeTraits()->Clamp( value, m_ConVarData->MinValue(), m_ConVarData->MaxValue() );
if(!m_ConVarData->IsEqual( slot, value ))
g_pCVar->QueueThreadSetValue( this, slot, value );
g_pCVar->QueueThreadSetValue( this, slot, nullptr, value );
}
void ConVarRefAbstract::SetValueInternal( CSplitScreenSlot slot, CVValue_t *value )