|
|
@ -848,6 +848,8 @@ void CHGrunt::HandleAnimEvent( MonsterEvent_t *pEvent ) |
|
|
|
switch( pEvent->event ) |
|
|
|
switch( pEvent->event ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
case HGRUNT_AE_DROP_GUN: |
|
|
|
case HGRUNT_AE_DROP_GUN: |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if ( GetBodygroup( GUN_GROUP ) != GUN_NONE ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
Vector vecGunPos; |
|
|
|
Vector vecGunPos; |
|
|
|
Vector vecGunAngles; |
|
|
|
Vector vecGunAngles; |
|
|
@ -872,6 +874,7 @@ void CHGrunt::HandleAnimEvent( MonsterEvent_t *pEvent ) |
|
|
|
DropItem( "ammo_ARgrenades", BodyTarget( pev->origin ), vecGunAngles ); |
|
|
|
DropItem( "ammo_ARgrenades", BodyTarget( pev->origin ), vecGunAngles ); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
case HGRUNT_AE_RELOAD: |
|
|
|
case HGRUNT_AE_RELOAD: |
|
|
|
EMIT_SOUND( ENT( pev ), CHAN_WEAPON, "hgrunt/gr_reload1.wav", 1, ATTN_NORM ); |
|
|
|
EMIT_SOUND( ENT( pev ), CHAN_WEAPON, "hgrunt/gr_reload1.wav", 1, ATTN_NORM ); |
|
|
|