|
|
|
@ -183,6 +183,7 @@ void CRat::HandleAnimEvent( MonsterEvent_t *pEvent )
@@ -183,6 +183,7 @@ void CRat::HandleAnimEvent( MonsterEvent_t *pEvent )
|
|
|
|
|
vecJumpDir = Vector( gpGlobals->v_forward.x, gpGlobals->v_forward.y, gpGlobals->v_up.z ) * 350; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if( RANDOM_LONG( 0, 2 ) ) |
|
|
|
|
EMIT_SOUND_DYN( edict(), CHAN_VOICE, pAttackSounds[0], GetSoundVolue(), ATTN_IDLE, 0, GetVoicePitch() ); |
|
|
|
|
|
|
|
|
|
pev->velocity = vecJumpDir; |
|
|
|
|