fixed a bug where the post engine functions table was copied to the "normal" engine functions table

This commit is contained in:
Pavol Marko 2004-04-29 17:13:36 +00:00
parent de5bdad8de
commit a04df29f22

View File

@ -150,7 +150,7 @@ void FakeError()
(*iter).GetInfo()->name, (*iter).GetPath(), #pfnArgs); \ (*iter).GetInfo()->name, (*iter).GetPath(), #pfnArgs); \
if (mres == MRES_SUPERCEDE) \ if (mres == MRES_SUPERCEDE) \
AMXXLOG_Log("[AMXX] Module \"%s\" (\"%s\") has set meta result in \"%s\" to supercede", \ AMXXLOG_Log("[AMXX] Module \"%s\" (\"%s\") has set meta result in \"%s\" to supercede", \
(*iter).GetInfo()->name, (*iter).GetPath(), #pfnArgs); \ (*iter).GetInfo()->name, (*iter).GetPath(), #pfnName); \
} \ } \
} \ } \
/* Set meta result to the highest value */ \ /* Set meta result to the highest value */ \
@ -2519,7 +2519,7 @@ int CFakeMeta::CFakeMetaPlugin::GetEngineFunctions(int interfaceVersion)
int CFakeMeta::CFakeMetaPlugin::GetEngineFunctions_Post(int interfaceVersion) int CFakeMeta::CFakeMetaPlugin::GetEngineFunctions_Post(int interfaceVersion)
{ {
FAKEMETA_GET_FUNCTABLE(GetEngineFunctions, interfaceVersion, m_EngineFuncTable_Post); FAKEMETA_GET_FUNCTABLE(GetEngineFunctions_Post, interfaceVersion, m_EngineFuncTable_Post);
} }
int CFakeMeta::CFakeMetaPlugin::GetNewDLLFunctions(int interfaceVersion) int CFakeMeta::CFakeMetaPlugin::GetNewDLLFunctions(int interfaceVersion)