From: Martin Taibr Date: Fri, 26 Jul 2019 00:39:59 +0000 (+0200) Subject: move ATTEN_LOW const to the same file as the others X-Git-Tag: xonotic-v0.8.5~1449^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F661%2Fhead;p=xonotic%2Fxonotic-data.pk3dir.git move ATTEN_LOW const to the same file as the others --- diff --git a/qcsrc/common/effects/qc/damageeffects.qc b/qcsrc/common/effects/qc/damageeffects.qc index fe509e3d4..5dd3e4c82 100644 --- a/qcsrc/common/effects/qc/damageeffects.qc +++ b/qcsrc/common/effects/qc/damageeffects.qc @@ -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; diff --git a/qcsrc/common/sounds/sound.qh b/qcsrc/common/sounds/sound.qh index b3eb1ea86..af85fa1a3 100644 --- a/qcsrc/common/sounds/sound.qh +++ b/qcsrc/common/sounds/sound.qh @@ -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;