mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 10:38:23 +00:00
Fix invalid memory access in ConVarRefAbstract::SetValueInternal
This commit is contained in:
parent
ab928484e4
commit
fbe93e1528
@ -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 );
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user