2
0
Fork 0
mirror of https://github.com/rehlds/ReGameDLL_CS.git synced 2025-08-03 05:09:39 +03:00

Remove DelayedUse and gib on new round

This commit is contained in:
s1lentq 2016-09-25 17:42:25 +07:00
commit 66209cecda

View file

@ -704,6 +704,11 @@ void CHalfLifeMultiplay::__API_VHOOK(CleanUpMap)()
// Old code only removed 4 kits and stopped. // Old code only removed 4 kits and stopped.
UTIL_RemoveOther("item_thighpack"); UTIL_RemoveOther("item_thighpack");
#ifdef REGAMEDLL_FIXES
UTIL_RemoveOther("gib");
UTIL_RemoveOther("DelayedUse");
#endif
RemoveGuns(); RemoveGuns();
PLAYBACK_EVENT((FEV_GLOBAL | FEV_RELIABLE), 0, m_usResetDecals); PLAYBACK_EVENT((FEV_GLOBAL | FEV_RELIABLE), 0, m_usResetDecals);
} }