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

View file

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