Fix to linux support of dynamic libraries (also works on windows)

This commit is contained in:
Joshua Jones 2010-02-21 02:19:14 +00:00
parent bea4b72893
commit 03fb7166e1
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ void cPluginManager::autoLoadPlugins()
#endif
{
//Found a plugin, load it
installPlugin(fileList[i].c_str(), NULL);
installPlugin(std::string("./" + fileList[i]).c_str(), NULL);
}
}
}