|
|
|
@ -255,9 +255,9 @@ int CKnife::Swing( int fFirst )
@@ -255,9 +255,9 @@ int CKnife::Swing( int fFirst )
|
|
|
|
|
switch( RANDOM_LONG(0,1) ) |
|
|
|
|
{ |
|
|
|
|
case 0: |
|
|
|
|
EMIT_SOUND(ENT(m_pPlayer->pev), CHAN_ITEM, "weapons/knife_hitwall1.wav", 1, ATTN_NORM); break; |
|
|
|
|
EMIT_SOUND(ENT(m_pPlayer->pev), CHAN_ITEM, "weapons/knife_wall1.wav", 1, ATTN_NORM); break; |
|
|
|
|
case 1: |
|
|
|
|
EMIT_SOUND(ENT(m_pPlayer->pev), CHAN_ITEM, "weapons/knife_hitwall2.wav", 1, ATTN_NORM); break; |
|
|
|
|
EMIT_SOUND(ENT(m_pPlayer->pev), CHAN_ITEM, "weapons/knife_wall2.wav", 1, ATTN_NORM); break; |
|
|
|
|
} |
|
|
|
|
m_pPlayer->m_iWeaponVolume = CROWBAR_BODYHIT_VOLUME; |
|
|
|
|
if ( !pEntity->IsAlive() ) |
|
|
|
|