mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 07:11:38 +00:00
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:
parent
30f919856f
commit
8769b0175c
1 changed files with 4 additions and 1 deletions
|
@ -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])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue