diff -r 46801dbf4383 -r 35da1c5c4538 core/sourcemm_api.cpp --- a/core/sourcemm_api.cpp Wed Nov 18 15:44:51 2009 -0800 +++ b/core/sourcemm_api.cpp Fri Nov 20 15:18:58 2009 -0600 @@ -87,7 +87,7 @@ ismm->AddListener(this, this); -#if defined METAMOD_PLAPI_VERSION +#if defined METAMOD_PLAPI_VERSION || PLAPI_VERSION >= 11 if ((vsp_interface = g_SMAPI->GetVSPInfo(&vsp_version)) == NULL) #endif { @@ -177,7 +177,7 @@ return; } -#if defined METAMOD_PLAPI_VERSION +#if defined METAMOD_PLAPI_VERSION || PLAPI_VERSION >= 11 if (vsp_version == 0) { g_SMAPI->GetVSPInfo(&vsp_version);