mirror of
https://github.com/ENSL/NS.git
synced 2024-11-22 12:41:33 +00:00
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:
parent
a72a491146
commit
4586c5ad9b
1 changed files with 8 additions and 5 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue