mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-04-15 14:02:27 +03:00
Fix c4 defuse glitch (#383)
* [WIP] Fix c4 defuse glitch While you are defusing you can unpress E and a friend can continue to defuse for you
This commit is contained in:
parent
2defb8ad8e
commit
411a02843e
@ -1151,8 +1151,13 @@ void CGrenade::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useTy
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (m_bStartDefuse)
|
if (m_bStartDefuse)
|
||||||
|
{
|
||||||
|
#ifdef REGAMEDLL_FIXES
|
||||||
|
if (m_pBombDefuser == pPlayer)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
m_fNextDefuse = gpGlobals->time + NEXT_DEFUSE_TIME;
|
m_fNextDefuse = gpGlobals->time + NEXT_DEFUSE_TIME;
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user