1.1 --- a/core/systems/PluginSys.cpp Fri Jan 19 01:50:42 2007 +0000
1.2 +++ b/core/systems/PluginSys.cpp Fri Jan 19 02:14:50 2007 +0000
1.3 @@ -100,7 +100,7 @@
1.4 CPlugin *CPlugin::CreatePlugin(const char *file, char *error, size_t maxlength)
1.5 {
1.6 char fullpath[PLATFORM_MAX_PATH+1];
1.7 - g_LibSys.PathFormat(fullpath, sizeof(fullpath), "%s/plugins/%s", g_SourceMod.GetSMBaseDir(), file);
1.8 + g_SourceMod.BuildPath(Path_SM, fullpath, sizeof(fullpath), "plugins/%s", file);
1.9 FILE *fp = fopen(fullpath, "rb");
1.10
1.11 CPlugin *pPlugin = new CPlugin(file);