From 399fb8a8e84b29276dd101bdd7512527bd65e994 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 15 Jul 2007 22:34:30 +0000 Subject: [PATCH] fixed a bug where __pl_*_SetNTVOptional could not be called --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401129 --- core/systems/PluginSys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/systems/PluginSys.cpp b/core/systems/PluginSys.cpp index 0d4d1768..5b60ea53 100644 --- a/core/systems/PluginSys.cpp +++ b/core/systems/PluginSys.cpp @@ -1056,7 +1056,7 @@ bool CPluginManager::FindOrRequirePluginDeps(CPlugin *pPlugin, char *error, size { IPluginFunction *pFunc; char buffer[64]; - UTIL_Format(buffer, sizeof(buffer), "__pl_%s_SetNTVOptional", &pubvar->name[6]); + UTIL_Format(buffer, sizeof(buffer), "__pl_%s_SetNTVOptional", &pubvar->name[5]); if ((pFunc=pBase->GetFunctionByName(buffer))) { cell_t res;