core/systems/PluginSys.cpp
changeset 1123 08c06c17de24
parent 1122 f07d8e10433b
child 1124 a397d51fb986
     1.1 --- a/core/systems/PluginSys.cpp	Sun Jul 15 21:29:49 2007 +0000
     1.2 +++ b/core/systems/PluginSys.cpp	Sun Jul 15 22:34:30 2007 +0000
     1.3 @@ -1056,7 +1056,7 @@
     1.4  			{
     1.5  				IPluginFunction *pFunc;
     1.6  				char buffer[64];
     1.7 -				UTIL_Format(buffer, sizeof(buffer), "__pl_%s_SetNTVOptional", &pubvar->name[6]);
     1.8 +				UTIL_Format(buffer, sizeof(buffer), "__pl_%s_SetNTVOptional", &pubvar->name[5]);
     1.9  				if ((pFunc=pBase->GetFunctionByName(buffer)))
    1.10  				{
    1.11  					cell_t res;