Added optional autoload of sdktools to cstrike ext.(bug 5125, r=psychonic).

This commit is contained in:
GoD-Tony 2011-10-13 13:17:37 -04:00
parent 1b9fb906e2
commit 9a04a6bdb1

View File

@ -66,6 +66,7 @@ bool CStrike::SDK_OnLoad(char *error, size_t maxlength, bool late)
}
sharesys->AddDependency(myself, "bintools.ext", true, true);
sharesys->AddDependency(myself, "sdktools.ext", false, true);
char conf_error[255];
if (!gameconfs->LoadGameConfigFile("sm-cstrike.games", &g_pGameConf, conf_error, sizeof(conf_error)))