From 45549a8173d157dacf43f78b988995bde29e9543 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Wed, 23 Jun 2010 10:08:08 -0400 Subject: [PATCH] Cstrike ext now recognizes and loads on cstrike_beta (bug 4399, r=fyren) --- extensions/cstrike/extension.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/cstrike/extension.cpp b/extensions/cstrike/extension.cpp index 549df79e..f25222ba 100644 --- a/extensions/cstrike/extension.cpp +++ b/extensions/cstrike/extension.cpp @@ -55,7 +55,7 @@ extern sp_nativeinfo_t g_CSNatives[]; bool CStrike::SDK_OnLoad(char *error, size_t maxlength, bool late) { - if (strcmp(g_pSM->GetGameFolderName(), "cstrike") != 0) + if (strcmp(g_pSM->GetGameFolderName(), "cstrike") != 0 && strcmp(g_pSM->GetGameFolderName(), "cstrike_beta") != 0) { snprintf(error, maxlength, "Cannot Load Cstrike Extension on mods other than CS:S"); return false;