- rewrote internal convar hooking mechanism to prevent crashes and potential "race conditions"
- sharesys is now the first thing to run, so g_pCoreIdent is valid EVERYWHERE - added internal convar hooking funcs for timersys --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401776
This commit is contained in:
@@ -54,7 +54,7 @@ IdentityToken_t *ShareSystem::CreateCoreIdentity()
|
||||
return CreateIdentity(m_CoreType, this);
|
||||
}
|
||||
|
||||
void ShareSystem::OnSourceModStartup(bool late)
|
||||
void ShareSystem::Initialize()
|
||||
{
|
||||
TypeAccess sec;
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ public: //IShareSys
|
||||
void OverrideNatives(IExtension *myself, const sp_nativeinfo_t *natives);
|
||||
public: //SMGlobalClass
|
||||
/* Pre-empt in case anything tries to register idents early */
|
||||
void OnSourceModStartup(bool late);
|
||||
void Initialize();
|
||||
void OnSourceModShutdown();
|
||||
public: //IHandleTypeDispatch
|
||||
void OnHandleDestroy(HandleType_t type, void *object);
|
||||
|
||||
Reference in New Issue
Block a user