mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-23 20:09:45 +03:00
Added new player animation types and applied more player animations to SP HL2 weapons
This commit is contained in:
@@ -469,7 +469,11 @@ void CWeaponSMG1::SecondaryAttack( void )
|
||||
CSoundEnt::InsertSound( SOUND_COMBAT, GetAbsOrigin(), 1000, 0.2, GetOwner(), SOUNDENT_CHANNEL_WEAPON );
|
||||
|
||||
// player "shoot" animation
|
||||
#ifdef MAPBASE
|
||||
pPlayer->SetAnimation( PLAYER_ATTACK2 );
|
||||
#else
|
||||
pPlayer->SetAnimation( PLAYER_ATTACK1 );
|
||||
#endif
|
||||
|
||||
// Decrease ammo
|
||||
pPlayer->RemoveAmmo( 1, m_iSecondaryAmmoType );
|
||||
|
||||
Reference in New Issue
Block a user