mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Update ConVar flags for ConVar_Register to use correct type (alliedmodders/metamod-source#42).
This commit is contained in:
@ -37,7 +37,7 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
ConCommandBase *ConCommandBase::s_pConCommandBases = NULL;
|
||||
IConCommandBaseAccessor *ConCommandBase::s_pAccessor = NULL;
|
||||
static int s_nCVarFlag = 0;
|
||||
static int64 s_nCVarFlag = 0;
|
||||
static int s_nDLLIdentifier = -1; // A unique identifier indicating which DLL this convar came from
|
||||
static bool s_bRegistered = false;
|
||||
|
||||
@ -57,7 +57,7 @@ static CDefaultAccessor s_DefaultAccessor;
|
||||
//-----------------------------------------------------------------------------
|
||||
// Called by the framework to register ConCommandBases with the ICVar
|
||||
//-----------------------------------------------------------------------------
|
||||
void ConVar_Register( int nCVarFlag, IConCommandBaseAccessor *pAccessor )
|
||||
void ConVar_Register( int64 nCVarFlag, IConCommandBaseAccessor *pAccessor )
|
||||
{
|
||||
if ( !g_pCVar || s_bRegistered )
|
||||
return;
|
||||
|
Reference in New Issue
Block a user