[TF] Allow TFBots to use the Wrap Assassin's alt-fire

This commit is contained in:
Bitl
2025-07-27 12:38:56 -07:00
committed by EricS-Valve
parent 5fe202c549
commit db05fc9904

View File

@@ -4597,7 +4597,7 @@ Action< CTFBot > *CTFBot::OpportunisticallyUseWeaponAbilities( void )
}
}
}
else if ( weapon->GetWeaponID() == TF_WEAPON_BAT_WOOD )
else if ( weapon->GetWeaponID() == TF_WEAPON_BAT_WOOD || weapon->GetWeaponID() == TF_WEAPON_BAT_GIFTWRAP )
{
// sandman
if ( GetAmmoCount( TF_AMMO_GRENADES1 ) > 0 )