Add L4D handling to GuessSDKVersion() (bug 3842, r=dvander)
This commit is contained in:
parent
cec339552e
commit
7605396e84
@ -457,6 +457,10 @@ static cell_t GuessSDKVersion(IPluginContext *pContext, const cell_t *params)
|
|||||||
{
|
{
|
||||||
return 30;
|
return 30;
|
||||||
}
|
}
|
||||||
|
else if (version == SOURCE_ENGINE_LEFT4DEAD)
|
||||||
|
{
|
||||||
|
return 40;
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
if (g_HL2.IsOriginalEngine())
|
if (g_HL2.IsOriginalEngine())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user