core/sm_srvcmds.cpp
changeset 2400 76b7b4575e21
parent 2289 44045ead61cd
child 2583 d3b2571c378b
     1.1 --- a/core/sm_srvcmds.cpp	Fri Nov 14 03:38:59 2008 -0600
     1.2 +++ b/core/sm_srvcmds.cpp	Fri Nov 14 09:18:30 2008 -0600
     1.3 @@ -61,7 +61,7 @@
     1.4  
     1.5  void RootConsoleMenu::OnSourceModStartup(bool late)
     1.6  {
     1.7 -#if defined ORANGEBOX_BUILD
     1.8 +#if SOURCE_ENGINE >= SE_ORANGEBOX
     1.9  	g_pCVar = icvar;
    1.10  #endif
    1.11  	CONVAR_REGISTER(this);
    1.12 @@ -291,7 +291,7 @@
    1.13  
    1.14  CON_COMMAND(sm, "SourceMod Menu")
    1.15  {
    1.16 -#if !defined ORANGEBOX_BUILD
    1.17 +#if SOURCE_ENGINE == SE_EPISODEONE
    1.18  	CCommand args;
    1.19  #endif
    1.20  	g_RootMenu.GotRootCmd(args);
    1.21 @@ -327,7 +327,7 @@
    1.22  
    1.23  CON_COMMAND(sm_dump_handles, "Dumps Handle usage to a file for finding Handle leaks")
    1.24  {
    1.25 -#if !defined ORANGEBOX_BUILD
    1.26 +#if SOURCE_ENGINE == SE_EPISODEONE
    1.27  	CCommand args;
    1.28  #endif
    1.29  	if (args.ArgC() < 2)