Add L4D handling to GuessSDKVersion() (bug 3842, r=dvander)

This commit is contained in:
Fyren 2009-05-16 16:32:21 -07:00
parent cec339552e
commit 7605396e84

View File

@ -457,6 +457,10 @@ static cell_t GuessSDKVersion(IPluginContext *pContext, const cell_t *params)
{
return 30;
}
else if (version == SOURCE_ENGINE_LEFT4DEAD)
{
return 40;
}
#else
if (g_HL2.IsOriginalEngine())
{