sourcemm/sourcemm.cpp
changeset 314 7666e83ef566
parent 313 297482d07c85
child 315 3af514e12267
     1.1 --- a/sourcemm/sourcemm.cpp	Fri Apr 06 20:53:07 2007 +0000
     1.2 +++ b/sourcemm/sourcemm.cpp	Fri Apr 06 21:01:43 2007 +0000
     1.3 @@ -50,6 +50,7 @@
     1.4  SourceHook::ISourceHook *g_SHPtr = &g_SourceHook;
     1.5  SourceHook::String g_ModPath;
     1.6  SourceHook::String g_BinPath;
     1.7 +SourceHook::String g_SmmPath;
     1.8  PluginId g_PLID = Pl_Console;			/* Technically, SourceMM is the "Console" plugin... :p */
     1.9  bool bInFirstLevel = true;
    1.10  bool gParsedGameInfo = false;
    1.11 @@ -249,6 +250,8 @@
    1.12  			return NULL;
    1.13  		}
    1.14  
    1.15 +		g_SmmPath.assign(smmPath);
    1.16 +
    1.17  		/* Get value of -game from command line, defaulting to hl2 as engine seems to do */
    1.18  		gameDir = CommandLine()->ParmValue("-game", "hl2");
    1.19