]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use ATTN_NORM on shotgun ricochet (hopefully fixes ultra loud spam)
authorMario <mario@smbclan.net>
Wed, 4 Nov 2015 02:42:22 +0000 (12:42 +1000)
committerMario <mario@smbclan.net>
Wed, 4 Nov 2015 02:42:22 +0000 (12:42 +1000)
qcsrc/common/weapons/weapon/shotgun.qc

index 7279973dd173efeba03d34a7796ca9d98bdbd3b9..3865f5fee1975b1b0041656df524718cc8f00275 100644 (file)
@@ -342,7 +342,7 @@ void W_Shotgun_Attack3_Frame1(Weapon thiswep, entity actor, .entity weaponentity
                        pointparticles(EFFECT_SHOTGUN_IMPACT, org2, w_backoff * 1000, 1);
                        if(!w_issilent && time - self.prevric > 0.25)
                        {
-                               sound(self, CH_SHOTS, SND_RIC_RANDOM(), VOL_BASE, ATTEN_NORM);
+                               sound(self, CH_SHOTS, SND_RIC_RANDOM(), VOL_BASE, ATTN_NORM);
                                self.prevric = time;
                        }
                }