core/sourcemm_api.cpp
changeset 2866 35da1c5c4538
parent 2845 0b4e4eaa581c
child 2903 a9e8ffff056a
     1.1 --- a/core/sourcemm_api.cpp	Wed Nov 18 15:44:51 2009 -0800
     1.2 +++ b/core/sourcemm_api.cpp	Fri Nov 20 15:18:58 2009 -0600
     1.3 @@ -87,7 +87,7 @@
     1.4  	
     1.5  	ismm->AddListener(this, this);
     1.6  
     1.7 -#if defined METAMOD_PLAPI_VERSION
     1.8 +#if defined METAMOD_PLAPI_VERSION || PLAPI_VERSION >= 11
     1.9  	if ((vsp_interface = g_SMAPI->GetVSPInfo(&vsp_version)) == NULL)
    1.10  #endif
    1.11  	{
    1.12 @@ -177,7 +177,7 @@
    1.13  		return;
    1.14  	}
    1.15  
    1.16 -#if defined METAMOD_PLAPI_VERSION
    1.17 +#if defined METAMOD_PLAPI_VERSION || PLAPI_VERSION >= 11
    1.18  	if (vsp_version == 0)
    1.19  	{
    1.20  		g_SMAPI->GetVSPInfo(&vsp_version);