Mantis 0000938:

o all code calls for weapon draw sounds removed

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@83 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
tankefugl 2005-04-20 14:43:20 +00:00
parent a72a491146
commit 4586c5ad9b
1 changed files with 8 additions and 5 deletions

View File

@ -186,11 +186,14 @@ int AvHBasePlayerWeapon::AddToPlayer( CBasePlayer *pPlayer )
BOOL AvHBasePlayerWeapon::Deploy()
{
char* theDeploySound = this->GetDeploySound();
if(theDeploySound)
{
EMIT_SOUND(ENT(this->pev), CHAN_WEAPON, this->GetDeploySound(), this->GetDeploySoundVolume(), ATTN_NORM);
}
// tankefugl: 0000938
// removed deploy sounds for all weapons, leaving the sounds to the models
// char* theDeploySound = this->GetDeploySound();
// if(theDeploySound)
// {
// EMIT_SOUND(ENT(this->pev), CHAN_WEAPON, this->GetDeploySound(), this->GetDeploySoundVolume(), ATTN_NORM);
//}
// :tankefugl
char* theAnimExt = this->GetAnimationExtension();