Unstable v0.15.17.0 (Hex is out of town edition)
This commit is contained in:
@@ -228,7 +228,7 @@ namespace Barotrauma.Sounds
|
||||
uint alSource = Sound.Owner.GetSourceFromIndex(Sound.SourcePoolIndex, ALSourceIndex);
|
||||
|
||||
float effectiveGain = gain;
|
||||
if (category != null) effectiveGain *= Sound.Owner.GetCategoryGainMultiplier(category);
|
||||
if (category != null) { effectiveGain *= Sound.Owner.GetCategoryGainMultiplier(category); }
|
||||
|
||||
Al.Sourcef(alSource, Al.Gain, effectiveGain);
|
||||
int alError = Al.GetError();
|
||||
|
||||
Reference in New Issue
Block a user