gameshim/stripper_mm.cpp
changeset 25 ba37f00bef65
parent 20 443c594aaef8
child 27 f40bd26e2b90
     1.1 --- a/gameshim/stripper_mm.cpp	Thu Oct 29 23:18:24 2009 -0700
     1.2 +++ b/gameshim/stripper_mm.cpp	Sat Oct 31 20:48:22 2009 -0400
     1.3 @@ -45,7 +45,7 @@
     1.4  GetICVar()
     1.5  {
     1.6  #if defined METAMOD_PLAPI_VERSION
     1.7 -#if SOURCE_ENGINE==SE_ORANGEBOX || SOURCE_ENGINE==SE_LEFT4DEAD
     1.8 +#if SOURCE_ENGINE==SE_ORANGEBOX || SOURCE_ENGINE==SE_LEFT4DEAD || SOURCE_ENGINE==SE_LEFT4DEAD2
     1.9      return (ICvar *)((g_SMAPI->GetEngineFactory())(CVAR_INTERFACE_VERSION, NULL));
    1.10  #else
    1.11      return (ICvar *)((g_SMAPI->GetEngineFactory())(VENGINE_CVAR_INTERFACE_VERSION, NULL));
    1.12 @@ -202,7 +202,7 @@
    1.13      SH_ADD_HOOK_STATICFUNC(IServerGameDLL, LevelInit, server, LevelInit_handler, false);
    1.14      SH_ADD_HOOK_STATICFUNC(IServerGameClients, SetCommandClient, clients, SetCommandClient, false);
    1.15  
    1.16 -#if SOURCE_ENGINE==SE_ORANGEBOX || SOURCE_ENGINE==SE_LEFT4DEAD
    1.17 +#if SOURCE_ENGINE==SE_ORANGEBOX || SOURCE_ENGINE==SE_LEFT4DEAD || SOURCE_ENGINE==SE_LEFT4DEAD2
    1.18      g_pCVar = GetICVar();
    1.19      ConVar_Register(0, this);
    1.20  #else