From ced6add9ea083ba22d717d050095dec2bfd12af4 Mon Sep 17 00:00:00 2001 From: Fyren Date: Wed, 13 May 2009 16:05:37 -0700 Subject: [PATCH] Add L4D handling to GuessSDKVersion() (bug 3842, r+a12=dvander) --- core/smn_halflife.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/smn_halflife.cpp b/core/smn_halflife.cpp index fd5898d5..155c254f 100644 --- a/core/smn_halflife.cpp +++ b/core/smn_halflife.cpp @@ -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()) {