mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 18:05:23 +01:00
Merge 4dfa6b8710
This commit is contained in:
parent
55c3eb674c
commit
33ba064b88
@ -1159,8 +1159,6 @@ void EV_Crowbar( event_args_t *args )
|
||||
|
||||
if( EV_IsLocal( idx ) )
|
||||
{
|
||||
gEngfuncs.pEventAPI->EV_WeaponAnimation( CROWBAR_ATTACK1MISS, 1 );
|
||||
|
||||
switch( (g_iSwing++) % 3 )
|
||||
{
|
||||
case 0:
|
||||
|
@ -183,9 +183,12 @@ int CCrowbar::Swing( int fFirst )
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if( fFirst )
|
||||
{
|
||||
PLAYBACK_EVENT_FULL( FEV_NOTHOST, m_pPlayer->edict(), m_usCrowbar,
|
||||
0.0, (float *)&g_vecZero, (float *)&g_vecZero, 0, 0, 0,
|
||||
0, 0, 0 );
|
||||
}
|
||||
|
||||
if( tr.flFraction >= 1.0 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user