- resetting the "blood overlay" when switching the controlled character
- fixed 1-section long walls being impossible to fix after their body has been destroyed - better looking blur (small lights aren't "skewed")
This commit is contained in:
@@ -87,7 +87,7 @@ namespace Barotrauma
|
||||
/// </summary>
|
||||
float ComputeGaussian(float n)
|
||||
{
|
||||
float theta = 4.0f;
|
||||
float theta = 2.0f;
|
||||
|
||||
return (float)((1.0 / Math.Sqrt(2 * Math.PI * theta)) *
|
||||
Math.Exp(-(n * n) / (2 * theta * theta)));
|
||||
|
||||
Reference in New Issue
Block a user