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_TempEntHooks.Shutdown();
|
||||||
s_SoundHooks.Shutdown();
|
s_SoundHooks.Shutdown();
|
||||||
g_Hooks.Shutdown();
|
g_Hooks.Shutdown();
|
||||||
|
g_OutputManager.Shutdown();
|
||||||
|
|
||||||
gameconfs->CloseGameConfigFile(g_pGameConf);
|
gameconfs->CloseGameConfigFile(g_pGameConf);
|
||||||
playerhelpers->RemoveClientListener(&g_SdkTools);
|
playerhelpers->RemoveClientListener(&g_SdkTools);
|
||||||
|
@ -44,7 +44,7 @@ EntityOutputManager::EntityOutputManager()
|
|||||||
enabled = false;
|
enabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
EntityOutputManager::~EntityOutputManager()
|
void EntityOutputManager::Shutdown()
|
||||||
{
|
{
|
||||||
if (!enabled)
|
if (!enabled)
|
||||||
{
|
{
|
||||||
|
@ -90,10 +90,9 @@ class EntityOutputManager : public IPluginsListener
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
EntityOutputManager();
|
EntityOutputManager();
|
||||||
~EntityOutputManager();
|
|
||||||
public:
|
public:
|
||||||
void Init();
|
void Init();
|
||||||
|
void Shutdown();
|
||||||
bool IsEnabled();
|
bool IsEnabled();
|
||||||
|
|
||||||
void FireEventDetour(void *pOutput, CBaseEntity *pActivator, CBaseEntity *pCaller, float fDelay);
|
void FireEventDetour(void *pOutput, CBaseEntity *pActivator, CBaseEntity *pCaller, float fDelay);
|
||||||
|
Loading…
Reference in New Issue
Block a user