- 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:
Regalis
2016-05-26 18:03:08 +03:00
parent 6a3572e1d2
commit 2398d8aa8a
4 changed files with 54 additions and 82 deletions
+1 -1
View File
@@ -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)));