|
|
|
@ -442,8 +442,10 @@ void CModman::FireHorn()
@@ -442,8 +442,10 @@ void CModman::FireHorn()
|
|
|
|
|
|
|
|
|
|
void CModman::Reload( void ) |
|
|
|
|
{ |
|
|
|
|
if( m_pPlayer->m_rgAmmo[m_iPrimaryAmmoType] <= 0 || m_iClip == CROSSBOW_MAX_CLIP ) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
if ( DefaultReload( 5, CROSSBOW_RELOAD, 4.5 ) ) |
|
|
|
|
if ( DefaultReload( CROSSBOW_MAX_CLIP, CROSSBOW_RELOAD, 4.5 ) ) |
|
|
|
|
{ |
|
|
|
|
EMIT_SOUND_DYN(ENT(m_pPlayer->pev), CHAN_ITEM, "weapons/xbow_reload1.wav", RANDOM_FLOAT(0.95, 1.0), ATTN_NORM, 0, 93 + RANDOM_LONG(0,0xF)); |
|
|
|
|
} |
|
|
|
|