Mantis 0000484:

o The shotgun now properly fires an empty click sound when under water and emptied

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@208 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
tankefugl 2005-06-22 21:52:30 +00:00
parent 30f919856f
commit 8769b0175c

View file

@ -208,7 +208,10 @@ void AvHReloadableMarineWeapon::Reload(void)
void AvHReloadableMarineWeapon::WeaponIdle(void)
{
if(this->m_flTimeWeaponIdle < UTIL_WeaponTimeBase())
// tankefugl: 0000484 - ensures that all idle weapons can fire the empty sound
ResetEmptySound();
if(this->m_flTimeWeaponIdle < UTIL_WeaponTimeBase())
{
if((this->m_iClip == 0) && (this->mSpecialReload == kSpecialReloadNone) && m_pPlayer->m_rgAmmo[m_iPrimaryAmmoType])
{