Missed converting a GetFlags instance.

This commit is contained in:
Nick Hastings 2018-05-06 13:18:04 -04:00
parent 880f8869a6
commit fba6997c67

View File

@ -540,7 +540,7 @@ static cell_t sm_GetConVarFlags(IPluginContext *pContext, const cell_t *params)
return pContext->ThrowNativeError("Invalid convar handle %x (error %d)", hndl, err);
}
return pConVar->GetFlags();
return pConVar->m_nFlags;
}
static cell_t sm_SetConVarFlags(IPluginContext *pContext, const cell_t *params)