mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-02-05 02:00:34 +03:00
Applied even more player animations to SP HL2 weapons
This commit is contained in:
parent
045cc293f3
commit
dc6d4e0963
@ -828,6 +828,10 @@ void CWeaponCrossbow::PrimaryAttack( void )
|
|||||||
{
|
{
|
||||||
m_iPrimaryAttacks++;
|
m_iPrimaryAttacks++;
|
||||||
gamestats->Event_WeaponFired( pPlayer, true, GetClassname() );
|
gamestats->Event_WeaponFired( pPlayer, true, GetClassname() );
|
||||||
|
|
||||||
|
#ifdef MAPBASE
|
||||||
|
pPlayer->SetAnimation( PLAYER_ATTACK1 );
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1765,6 +1765,9 @@ void CWeaponPhysCannon::DryFire( void )
|
|||||||
if ( pOwner )
|
if ( pOwner )
|
||||||
{
|
{
|
||||||
pOwner->RumbleEffect( RUMBLE_PISTOL, 0, RUMBLE_FLAG_RESTART );
|
pOwner->RumbleEffect( RUMBLE_PISTOL, 0, RUMBLE_FLAG_RESTART );
|
||||||
|
#ifdef MAPBASE // TODO: Is this animation too dramatic?
|
||||||
|
pOwner->SetAnimation( PLAYER_ATTACK1 );
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user