Fix invalid memory access in ConVarRefAbstract::SetValueInternal

This commit is contained in:
GAMMACASE 2025-03-10 19:37:55 +03:00
parent ab928484e4
commit fbe93e1528

View File

@ -603,6 +603,7 @@ void ConVarRefAbstract::SetValueInternal( CSplitScreenSlot slot, CVValue_t *valu
TypeTraits()->Copy( &prev, *curr_value );
TypeTraits()->Destruct( curr_value );
TypeTraits()->Construct( curr_value );
TypeTraits()->Copy( curr_value, *value );
m_ConVarData->Clamp( slot );