1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 04:26:03 +08:00

Correct FCVAR flags being int32 & handle ConVarRefAbstract invalidation

This commit is contained in:
GAMMACASE
2025-02-16 00:16:12 +03:00
parent 9dc649cfdc
commit 7678f00e41
2 changed files with 33 additions and 31 deletions

View File

@ -557,6 +557,8 @@ void ConVarRefAbstract::Init( ConVarRef ref, EConVarType type )
void ConVarRefAbstract::InvalidateConVarData( EConVarType type )
{
InvalidateRef();
if(type == EConVarType_Invalid)
m_ConVarData = GetInvalidConVarData( EConVarType_Invalid );
else