From c7fbc7f55ebc0118fd3e7082e93be87819aa2a0b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 14 Feb 2006 23:59:24 +0000 Subject: [PATCH] more gaben --- amxmodx/CModule.h | 2 +- amxmodx/meta_api.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/amxmodx/CModule.h b/amxmodx/CModule.h index 63910bae..12dbbc82 100755 --- a/amxmodx/CModule.h +++ b/amxmodx/CModule.h @@ -109,7 +109,7 @@ public: inline const char *getFilename() { return m_Filename.c_str(); } inline bool IsMetamod() { return m_Metamod; } - void CModule::CallPluginsLoaded(); + void CallPluginsLoaded(); CList m_Natives; }; diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index 89401fc2..6c6d29fd 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -1167,7 +1167,9 @@ C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, m gMetaFunctionTable.pfnGetEntityAPI2_Post = GetEntityAPI2_Post; gMetaFunctionTable.pfnGetEngineFunctions = GetEngineFunctions; gMetaFunctionTable.pfnGetEngineFunctions_Post = GetEngineFunctions_Post; +#if !defined AMD64 gMetaFunctionTable.pfnGetNewDLLFunctions = GetNewDLLFunctions; +#endif memcpy(pFunctionTable, &gMetaFunctionTable, sizeof(META_FUNCTIONS)); gpGamedllFuncs=pGamedllFuncs;