mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-03-03 17:25:24 +03:00
Added reset for multi_manager
This commit is contained in:
parent
43753dad38
commit
8633cd9f6f
@ -681,6 +681,7 @@ void CHalfLifeMultiplay::__API_VHOOK(CleanUpMap)()
|
||||
#ifdef REGAMEDLL_FIXES
|
||||
UTIL_RestartOther("func_button");
|
||||
UTIL_RestartOther("trigger_once");
|
||||
UTIL_RestartOther("multi_manager");
|
||||
#endif
|
||||
|
||||
// Remove grenades and C4
|
||||
|
@ -257,6 +257,7 @@ void CMultiManager::__MAKE_VHOOK(Spawn)()
|
||||
|
||||
void CMultiManager::__MAKE_VHOOK(Restart)()
|
||||
{
|
||||
#ifndef REGAMEDLL_FIXES
|
||||
edict_t *pentTarget = NULL;
|
||||
|
||||
for (int i = 0; i < m_cTargets; ++i)
|
||||
@ -278,6 +279,7 @@ void CMultiManager::__MAKE_VHOOK(Restart)()
|
||||
pTarget->Restart();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
SetThink(NULL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user