mirror of
https://github.com/WPMGPRoSToTeMa/SafeNameAndChat.git
synced 2025-03-12 13:10:15 +03:00
Moved initialization into Meta_Attach
This commit is contained in:
parent
7a9ecbe842
commit
1f9b8adb02
4
Main.cpp
4
Main.cpp
@ -422,8 +422,6 @@ void GiveFnptrsToDll(enginefuncs_t *pEngFuncs, globalvars_t *pGlobalVars) {
|
||||
memcpy(&g_engfuncs, pEngFuncs, sizeof(g_engfuncs));
|
||||
gpGlobals = pGlobalVars;
|
||||
|
||||
Init();
|
||||
|
||||
#ifdef _WIN32
|
||||
__asm
|
||||
{
|
||||
@ -801,6 +799,8 @@ C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, m
|
||||
gpMetaGlobals = pMGlobals;
|
||||
gpGamedllFuncs = pGamedllFuncs;
|
||||
|
||||
Init();
|
||||
|
||||
CVAR_REGISTER(&g_cvarVersion);
|
||||
CVAR_SET_STRING(g_cvarVersion.name, g_cvarVersion.string);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user