Added optional autoload of sdktools to cstrike ext.(bug 5125, r=psychonic).
This commit is contained in:
parent
1b9fb906e2
commit
9a04a6bdb1
@ -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, "bintools.ext", true, true);
|
||||||
|
sharesys->AddDependency(myself, "sdktools.ext", false, true);
|
||||||
|
|
||||||
char conf_error[255];
|
char conf_error[255];
|
||||||
if (!gameconfs->LoadGameConfigFile("sm-cstrike.games", &g_pGameConf, conf_error, sizeof(conf_error)))
|
if (!gameconfs->LoadGameConfigFile("sm-cstrike.games", &g_pGameConf, conf_error, sizeof(conf_error)))
|
||||||
|
Loading…
Reference in New Issue
Block a user