diff -r 53e819ac032a -r b04971393ee4 sourcemm/sourcemm.cpp --- a/sourcemm/sourcemm.cpp Thu Oct 06 20:46:49 2005 +0000 +++ b/sourcemm/sourcemm.cpp Thu Oct 06 21:59:10 2005 +0000 @@ -396,8 +396,6 @@ SH_RELEASE_CALLCLASS(dllExec); dllExec = NULL; - //right now this will crash when the function returns! - // :TODO: remove this warning once PM fixes it. g_SourceHook.CompleteShutdown(); if (g_GameDll.lib && g_GameDll.loaded) @@ -468,7 +466,7 @@ ext = ""; } //Format the new path - UTIL_PathFmt(full_path, sizeof(full_path)-1, "%s/%s", g_ModPath.c_str(), buffer, ext); + UTIL_PathFmt(full_path, sizeof(full_path)-1, "%s/%s%s", g_ModPath.c_str(), buffer, ext); id = g_PluginMngr.Load(full_path, Pl_File, already, error, sizeof(error)-1); if (id < Pl_MinId || g_PluginMngr.FindById(id)->m_Status < Pl_Paused) {