Fix playing weapon sounds
No more sounds audible on the whole map in bot modes, when bots change weapon or have no ammo. Gun change sound in bot code was a duplicate, so removed.
This commit is contained in:
@@ -289,7 +289,6 @@ bool CBot::SelectGun(int Gun)
|
||||
m_pMyEnt->gunselect = Gun;
|
||||
if(m_pMyEnt->weaponsel->type != Gun)
|
||||
{
|
||||
audiomgr.playsound(S_GUNCHANGE, m_pMyEnt);
|
||||
m_pMyEnt->weaponswitch(m_pMyEnt->weapons[Gun]);
|
||||
m_iChangeWeaponDelay = lastmillis + 1000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user