mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-22 04:31:14 +00:00
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@330 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
9f68cdb83f
commit
9218ea6768
2 changed files with 10 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue