mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 11:01:33 +00:00
Fix silent object hold exploit
This commit is contained in:
parent
a62efecf62
commit
7ff9f7dcb4
1 changed files with 1 additions and 1 deletions
|
@ -2337,7 +2337,7 @@ void CWeaponPhysCannon::ItemPostFrame()
|
|||
}
|
||||
}
|
||||
|
||||
if (( pOwner->m_nButtons & IN_ATTACK2 ) == 0 )
|
||||
if ( ( pOwner->m_nButtons & IN_ATTACK2 ) == 0 && CanPerformSecondaryAttack() )
|
||||
{
|
||||
m_nAttack2Debounce = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue