From 125a1221e2639a55d89b46e831ba469b530f6736 Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Fri, 26 Jul 2019 02:39:59 +0200 Subject: [PATCH] move ATTEN_LOW const to the same file as the others --- qcsrc/common/effects/qc/damageeffects.qc | 1 - qcsrc/common/sounds/sound.qh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2