Fixed shutdown bug in SDKTools (created EntOutputMgr shutdown func) (bug 5063, r=fyren).
This commit is contained in:
parent
4b0373408d
commit
5ec70c9e0d
@ -202,6 +202,7 @@ void SDKTools::SDK_OnUnload()
|
||||
s_TempEntHooks.Shutdown();
|
||||
s_SoundHooks.Shutdown();
|
||||
g_Hooks.Shutdown();
|
||||
g_OutputManager.Shutdown();
|
||||
|
||||
gameconfs->CloseGameConfigFile(g_pGameConf);
|
||||
playerhelpers->RemoveClientListener(&g_SdkTools);
|
||||
|
@ -44,7 +44,7 @@ EntityOutputManager::EntityOutputManager()
|
||||
enabled = false;
|
||||
}
|
||||
|
||||
EntityOutputManager::~EntityOutputManager()
|
||||
void EntityOutputManager::Shutdown()
|
||||
{
|
||||
if (!enabled)
|
||||
{
|
||||
|
@ -90,10 +90,9 @@ class EntityOutputManager : public IPluginsListener
|
||||
{
|
||||
public:
|
||||
EntityOutputManager();
|
||||
~EntityOutputManager();
|
||||
public:
|
||||
void Init();
|
||||
|
||||
void Shutdown();
|
||||
bool IsEnabled();
|
||||
|
||||
void FireEventDetour(void *pOutput, CBaseEntity *pActivator, CBaseEntity *pCaller, float fDelay);
|
||||
|
Loading…
Reference in New Issue
Block a user