Cvars: Hook Cvar_DirectSet from engine library

This commit is contained in:
Arkshine
2015-01-16 22:27:24 +01:00
parent 5ca0e5617d
commit 34d91789c4
7 changed files with 139 additions and 5 deletions

View File

@ -31,6 +31,7 @@
#include "trie_natives.h"
#include "CDataPack.h"
#include "textparse.h"
#include "cvars.h"
plugin_info_t Plugin_info =
{
@ -1488,6 +1489,8 @@ C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, m
GET_HOOK_TABLES(PLID, &g_pEngTable, NULL, NULL);
FlagMan.SetFile("cmdaccess.ini");
CreateCvarHook();
return (TRUE);
}