core/ConVarManager.cpp
changeset 2846 5e176efe7927
parent 2826 5f88b3ae2421
child 2890 54f2a62d6198
     1.1 --- a/core/ConVarManager.cpp	Thu Oct 29 00:53:31 2009 -0700
     1.2 +++ b/core/ConVarManager.cpp	Thu Oct 29 01:33:57 2009 -0700
     1.3 @@ -182,7 +182,7 @@
     1.4  	}
     1.5  
     1.6  	/* For later MM:S versions, use the updated API, since it's cleaner. */
     1.7 -#if defined METAMOD_PLAPI_VERSION
     1.8 +#if defined METAMOD_PLAPI_VERSION || PLAPI_VERSION >= 11
     1.9  	int engine = g_SMAPI->GetSourceEngineBuild();
    1.10  	if (engine == SOURCE_ENGINE_ORIGINAL || vsp_version < 2)
    1.11  	{