Fixed bugbait player throw animation

This commit is contained in:
Blixibon 2021-11-20 01:02:16 -06:00
parent fecddb3ecc
commit 37c3cd5e1c

View File

@ -249,10 +249,6 @@ void CWeaponBugBait::PrimaryAttack( void )
SendWeaponAnim( ACT_VM_HAULBACK );
#ifdef MAPBASE
pPlayer->SetAnimation( PLAYER_ATTACK1 );
#endif
m_flTimeWeaponIdle = FLT_MAX;
m_flNextPrimaryAttack = FLT_MAX;
@ -319,6 +315,10 @@ void CWeaponBugBait::ThrowGrenade( CBasePlayer *pPlayer )
}
m_bRedraw = true;
#ifdef MAPBASE
pPlayer->SetAnimation( PLAYER_ATTACK1 );
#endif
}
//-----------------------------------------------------------------------------