Make sentry perform rocket fire gesture when player controlled

This commit is contained in:
Horiuchi 2025-04-11 12:44:24 -04:00 committed by EricS-Valve
parent a85998aec5
commit dfcf1ffd6e
1 changed files with 1 additions and 0 deletions

View File

@ -1367,6 +1367,7 @@ bool CObjectSentrygun::FireRocket()
// Setup next rocket shot
if ( m_bPlayerControlled )
{
AddGesture( ACT_RANGE_ATTACK2, 2.25, true );
m_flNextRocketAttack = gpGlobals->curtime + 2.25;
}
else