Style + comment

This commit is contained in:
naydef 2025-10-26 17:32:00 +02:00
parent 3d1833cee5
commit 2b6d172d86
1 changed files with 2 additions and 1 deletions

View File

@ -271,7 +271,8 @@ void CTFWeaponBaseMelee::PlaySwingSound( void )
//-----------------------------------------------------------------------------
void CTFWeaponBaseMelee::Swing( CTFPlayer *pPlayer )
{
if ( m_flSmackTime>=m_flNextPrimaryAttack )
// A previous smack could be pending, so do the smack before we forget about it
if ( m_flSmackTime >= m_flNextPrimaryAttack )
{
Smack();
}