Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Feb 14, 2024
1 parent 499ab38 commit 917b50c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Plugins/SCModelDownloader/plugins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void IPluginsV4::LoadEngine(cl_enginefunc_t *pEngfuncs)
{
if (g_pInterface->MetaHookAPIVersion < METAHOOK_API_VERSION)
{
g_pMetaHookAPI->SysError("MetaHookAPIVersion too low! expect %d, got %d !", METAHOOK_API_VERSION, g_pInterface->MetaHookAPIVersion);
Sys_Error("MetaHookAPIVersion too low! expect %d, got %d !", METAHOOK_API_VERSION, g_pInterface->MetaHookAPIVersion);
return;
}

Expand Down
3 changes: 2 additions & 1 deletion Plugins/ThreadGuard/plugins.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <metahook.h>
#include "exportfuncs.h"
#include "privatehook.h"
#include "plugins.h"

cl_exportfuncs_t gExportfuncs = {0};
mh_interface_t *g_pInterface = NULL;
Expand Down Expand Up @@ -44,7 +45,7 @@ void IPluginsV4::LoadEngine(cl_enginefunc_t *pEngfuncs)
{
if (g_pInterface->MetaHookAPIVersion < METAHOOK_API_VERSION)
{
g_pMetaHookAPI->SysError("MetaHookAPIVersion too low! expect %d, got %d !", METAHOOK_API_VERSION, g_pInterface->MetaHookAPIVersion);
Sys_Error("MetaHookAPIVersion too low! expect %d, got %d !", METAHOOK_API_VERSION, g_pInterface->MetaHookAPIVersion);
return;
}

Expand Down

0 comments on commit 917b50c

Please sign in to comment.