Patch from /dev/humancontroller (thx)

This commit is contained in:
Zachary Slater 2011-01-27 07:00:35 +00:00
parent 74be070642
commit 275d3b45b5

View file

@ -611,7 +611,7 @@ static void S_AL_ScaleGain(src_t *chksrc, vec3_t origin)
scaleFactor *= chksrc->curGain; scaleFactor *= chksrc->curGain;
if(chksrc->scaleGain != scaleFactor); if(chksrc->scaleGain != scaleFactor)
{ {
chksrc->scaleGain = scaleFactor; chksrc->scaleGain = scaleFactor;
S_AL_Gain(chksrc->alSource, chksrc->scaleGain); S_AL_Gain(chksrc->alSource, chksrc->scaleGain);