git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@330 67975925-1194-0748-b3d5-c16f83f1a3a1

This commit is contained in:
Balgus 2005-08-18 17:43:52 +00:00
parent 9f68cdb83f
commit 9218ea6768
2 changed files with 10 additions and 3 deletions

View file

@ -103,7 +103,9 @@ int AvHGrenade::GetDeployAnimation() const
char* AvHGrenade::GetDeploySound() const
{
return kGRDeploySound;
//return kGRDeploySound;
return NULL;
}
float AvHGrenade::GetDeployTime() const
@ -299,7 +301,7 @@ void AvHGrenade::Precache(void)
AvHMarineWeapon::Precache();
PRECACHE_UNMODIFIED_SOUND(kGRFireSound1);
PRECACHE_UNMODIFIED_SOUND(kGRDeploySound);
//PRECACHE_UNMODIFIED_SOUND(kGRDeploySound);
PRECACHE_UNMODIFIED_SOUND(kGRExplodeSound);
PRECACHE_UNMODIFIED_SOUND(kGRHitSound);

View file

@ -90,7 +90,9 @@ float AvHKnife::GetDeployTime() const
char* AvHKnife::GetDeploySound() const
{
return kKNDeploySound;
//return kKNDeploySound;
return NULL;
}
char* AvHKnife::GetHeavyViewModel() const
@ -155,6 +157,8 @@ void AvHKnife::FireProjectiles(void)
// Do trace hull here
float theDamage = this->mDamage;
CBaseEntity* pHurt = this->m_pPlayer->CheckTraceHullAttack(kKNRange, theDamage, DMG_SLASH);
if(pHurt)
{
char* theSoundToPlay = NULL;
@ -185,6 +189,7 @@ void AvHKnife::FireProjectiles(void)
}
}
#endif
}