Added reset for multi_manager

This commit is contained in:
s1lentq 2016-09-13 19:07:51 +07:00
parent 43753dad38
commit 8633cd9f6f
2 changed files with 3 additions and 0 deletions

View File

@ -681,6 +681,7 @@ void CHalfLifeMultiplay::__API_VHOOK(CleanUpMap)()
#ifdef REGAMEDLL_FIXES #ifdef REGAMEDLL_FIXES
UTIL_RestartOther("func_button"); UTIL_RestartOther("func_button");
UTIL_RestartOther("trigger_once"); UTIL_RestartOther("trigger_once");
UTIL_RestartOther("multi_manager");
#endif #endif
// Remove grenades and C4 // Remove grenades and C4

View File

@ -257,6 +257,7 @@ void CMultiManager::__MAKE_VHOOK(Spawn)()
void CMultiManager::__MAKE_VHOOK(Restart)() void CMultiManager::__MAKE_VHOOK(Restart)()
{ {
#ifndef REGAMEDLL_FIXES
edict_t *pentTarget = NULL; edict_t *pentTarget = NULL;
for (int i = 0; i < m_cTargets; ++i) for (int i = 0; i < m_cTargets; ++i)
@ -278,6 +279,7 @@ void CMultiManager::__MAKE_VHOOK(Restart)()
pTarget->Restart(); pTarget->Restart();
} }
} }
#endif
SetThink(NULL); SetThink(NULL);