Update pinned commit for SourceMod, and adjust for API changes.

This commit is contained in:
David Anderson
2026-09-01 18:58:42 -07:00
parent 17eb8c2652
commit 02c56a6a42
8 changed files with 34 additions and 34 deletions
+2 -3
View File
@@ -486,10 +486,9 @@ bool CPlugin::TryCompile()
char fullpath[PLATFORM_MAX_PATH];
g_pSM->BuildPath(Path_SM, fullpath, sizeof(fullpath), "plugins/%s", m_filename);
char loadmsg[255];
m_pRuntime.reset(g_pPawnEnv->LoadBinaryFromFile(fullpath, loadmsg, sizeof(loadmsg)));
m_pRuntime.reset(g_pPawnEnv->LoadBinaryFromFile(fullpath));
if (!m_pRuntime) {
EvictWithError(Plugin_BadLoad, "Unable to load plugin (%s)", loadmsg);
EvictWithError(Plugin_BadLoad, "Unable to load plugin (%s)", m_filename);
return false;
}