Fixed SetUserInfo to work on bots
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402248
This commit is contained in:
parent
22aa6561b5
commit
06c8f3a093
@ -103,7 +103,11 @@ bool SDKTools::SDK_OnLoad(char *error, size_t maxlength, bool late)
|
||||
|
||||
playerhelpers->AddClientListener(&g_SdkTools);
|
||||
g_CallHandle = handlesys->CreateType("ValveCall", this, 0, NULL, NULL, myself->GetIdentity(), NULL);
|
||||
g_TraceHandle = handlesys->CreateType("TraceRay", this, 0, NULL, NULL, myself->GetIdentity(), NULL);
|
||||
|
||||
TypeAccess TraceAccess;
|
||||
handlesys->InitAccessDefaults(&TraceAccess, NULL);
|
||||
TraceAccess.access[HTypeAccess_Create] = true;
|
||||
g_TraceHandle = handlesys->CreateType("TraceRay", this, 0, &TraceAccess, NULL, myself->GetIdentity(), NULL);
|
||||
|
||||
#if defined ORANGEBOX_BUILD
|
||||
g_pCVar = icvar;
|
||||
|
Loading…
Reference in New Issue
Block a user