diff -r 297482d07c85 -r 7666e83ef566 sourcemm/sourcemm.cpp --- a/sourcemm/sourcemm.cpp Fri Apr 06 20:53:07 2007 +0000 +++ b/sourcemm/sourcemm.cpp Fri Apr 06 21:01:43 2007 +0000 @@ -50,6 +50,7 @@ SourceHook::ISourceHook *g_SHPtr = &g_SourceHook; SourceHook::String g_ModPath; SourceHook::String g_BinPath; +SourceHook::String g_SmmPath; PluginId g_PLID = Pl_Console; /* Technically, SourceMM is the "Console" plugin... :p */ bool bInFirstLevel = true; bool gParsedGameInfo = false; @@ -249,6 +250,8 @@ return NULL; } + g_SmmPath.assign(smmPath); + /* Get value of -game from command line, defaulting to hl2 as engine seems to do */ gameDir = CommandLine()->ParmValue("-game", "hl2");