Cstrike ext now recognizes and loads on cstrike_beta (bug 4399, r=fyren)

This commit is contained in:
Nicholas Hastings 2010-06-23 10:08:08 -04:00
parent d7ebf2edc1
commit 45549a8173

View File

@ -55,7 +55,7 @@ extern sp_nativeinfo_t g_CSNatives[];
bool CStrike::SDK_OnLoad(char *error, size_t maxlength, bool late) 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"); snprintf(error, maxlength, "Cannot Load Cstrike Extension on mods other than CS:S");
return false; return false;