sourcemm/sourcemm.cpp
changeset 124 b04971393ee4
parent 122 7c36121e2dfe
child 125 5cccffcd65a6
     1.1 --- a/sourcemm/sourcemm.cpp	Thu Oct 06 20:46:49 2005 +0000
     1.2 +++ b/sourcemm/sourcemm.cpp	Thu Oct 06 21:59:10 2005 +0000
     1.3 @@ -396,8 +396,6 @@
     1.4  	SH_RELEASE_CALLCLASS(dllExec);
     1.5  	dllExec = NULL;
     1.6  
     1.7 -	//right now this will crash when the function returns!
     1.8 -	// :TODO: remove this warning once PM fixes it.
     1.9  	g_SourceHook.CompleteShutdown();
    1.10  
    1.11  	if (g_GameDll.lib && g_GameDll.loaded)
    1.12 @@ -468,7 +466,7 @@
    1.13  				ext = "";
    1.14  			}
    1.15  			//Format the new path
    1.16 -			UTIL_PathFmt(full_path, sizeof(full_path)-1, "%s/%s", g_ModPath.c_str(), buffer, ext);
    1.17 +			UTIL_PathFmt(full_path, sizeof(full_path)-1, "%s/%s%s", g_ModPath.c_str(), buffer, ext);
    1.18  			id = g_PluginMngr.Load(full_path, Pl_File, already, error, sizeof(error)-1);
    1.19  			if (id < Pl_MinId || g_PluginMngr.FindById(id)->m_Status < Pl_Paused)
    1.20  			{