diff --git a/SourceCode/dlls/hgrunt.cpp b/SourceCode/dlls/hgrunt.cpp index 1b237f0..9a2cdea 100644 --- a/SourceCode/dlls/hgrunt.cpp +++ b/SourceCode/dlls/hgrunt.cpp @@ -944,11 +944,11 @@ void CHGrunt :: HandleAnimEvent( MonsterEvent_t *pEvent ) case HGRUNT_AE_KICK: { + EMIT_SOUND(ENT(pev), CHAN_WEAPON, "hgrunt/gr_kick.wav", 1, ATTN_NORM); CBaseEntity *pHurt = Kick(); if ( pHurt ) { - // SOUND HERE! UTIL_MakeVectors( pev->angles ); pHurt->pev->punchangle.x = 15; pHurt->pev->velocity = pHurt->pev->velocity + gpGlobals->v_forward * 100 + gpGlobals->v_up * 50; @@ -1078,6 +1078,8 @@ void CHGrunt :: Precache() PRECACHE_SOUND("zombie/claw_miss2.wav");// because we use the basemonster SWIPE animation event + PRECACHE_SOUND("hgrunt/gr_kick.wav"); + // get voice pitch if (RANDOM_LONG(0,1)) m_voicePitch = 109 + RANDOM_LONG(0,7);