aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 103d7962..7bf6f2ff 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1259,7 +1259,7 @@ static void CalcAttnSourceParams(ALvoice *voice, const struct ALvoiceProps *prop
for(i = 0;i < NumSends;i++)
{
if(RoomRolloff[i] > 0.0f)
- WetGainHF[i] *= powf(RoomAirAbsorption[i], absorb*RoomRolloff[i]);
+ WetGainHF[i] *= powf(AIRABSORBGAINHF, absorb*RoomRolloff[i]);
}
}