From 37c3cd5e1c2553f7af282e30d77a64c6bd069b8d Mon Sep 17 00:00:00 2001 From: Blixibon Date: Sat, 20 Nov 2021 01:02:16 -0600 Subject: [PATCH] Fixed bugbait player throw animation --- sp/src/game/server/hl2/weapon_bugbait.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sp/src/game/server/hl2/weapon_bugbait.cpp b/sp/src/game/server/hl2/weapon_bugbait.cpp index 330cf2c6..72967d7d 100644 --- a/sp/src/game/server/hl2/weapon_bugbait.cpp +++ b/sp/src/game/server/hl2/weapon_bugbait.cpp @@ -248,10 +248,6 @@ void CWeaponBugBait::PrimaryAttack( void ) return; 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 } //-----------------------------------------------------------------------------