]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
move ATTEN_LOW const to the same file as the others 661/head
authorMartin Taibr <taibr.martin@gmail.com>
Fri, 26 Jul 2019 00:39:59 +0000 (02:39 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Fri, 26 Jul 2019 00:39:59 +0000 (02:39 +0200)
qcsrc/common/effects/qc/damageeffects.qc
qcsrc/common/sounds/sound.qh

index fe509e3d4988cfce22f0e88f84b15a9402642124..5dd3e4c8271555ca0993333c7682d5ae3f6054aa 100644 (file)
@@ -174,7 +174,6 @@ void DamageEffect(entity this, vector hitorg, float thedamage, int type, int spe
 
 NET_HANDLE(ENT_CLIENT_DAMAGEINFO, bool isNew)
 {
-       const float ATTEN_LOW = 0.2;
        float thedamage, rad, edge, thisdmg;
        bool hitplayer = false;
        int species, forcemul;
index b3eb1ea861397547734d91eaef173e8f1f9b59a1..af85fa1a332082b48d3d2d5c33345141ee274588 100644 (file)
@@ -26,6 +26,7 @@ const int CH_AMBIENT_SINGLE = 9;
 
 const float ATTEN_NONE = 0;
 const float ATTEN_MIN = 0.015625;
+const float ATTEN_LOW = 0.2;
 const float ATTEN_NORM = 0.5;
 const float ATTEN_LARGE = 1;
 const float ATTEN_IDLE = 2;