From a5a7b1434c4e241d1d12c838cb23a3b1e47f40e9 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 9 Jan 2010 11:38:44 -0800 Subject: [PATCH] Fixed GuessSDKVersion() not working on ep2v (bug 4194, r=dvander, a12=blocking). --- core/smn_halflife.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/smn_halflife.cpp b/core/smn_halflife.cpp index 155c254f2..c39b6f20e 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_ORANGEBOXVALVE) + { + return 35; + } else if (version == SOURCE_ENGINE_LEFT4DEAD) { return 40;