v0.10.5.1

This commit is contained in:
Juan Pablo Arce
2020-09-22 11:31:56 -03:00
parent 44032d0ae0
commit 0002ad2c50
343 changed files with 12276 additions and 5023 deletions
@@ -60,7 +60,7 @@ namespace Barotrauma.Sounds
throw new InvalidOperationException();
}
public override SoundChannel Play(Vector3? position, float gain, bool muffle = false)
public override SoundChannel Play(Vector3? position, float gain, float freqMult = 1.0f, bool muffle = false)
{
throw new InvalidOperationException();
}
@@ -76,7 +76,7 @@ namespace Barotrauma.Sounds
soundChannel = null;
}
}
chn = new SoundChannel(this, gain, null, 1.0f, 3.0f, "video", false);
chn = new SoundChannel(this, gain, null, 1.0f, 1.0f, 3.0f, "video", false);
lock (mutex)
{
soundChannel = chn;