diff --git a/source/src/sound.cpp b/source/src/sound.cpp index 0d2303fc..b04bd63c 100644 --- a/source/src/sound.cpp +++ b/source/src/sound.cpp @@ -364,7 +364,7 @@ struct sourcescheduler vec otherpos = s->position(); float otherdist = otherpos.iszero() ? 0.0f : camera1->o.dist(otherpos); - float otherscore = (s->priority*soundschedpriorityscore) - (otherdist*soundscheddistancescore) - soundschedoldbonus; + float otherscore = (s->priority*soundschedpriorityscore) - (otherdist*soundscheddistancescore) + soundschedoldbonus; if(!worstsource || otherscore < worstscore) { worstsource = s;