- 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
@@ -20,6 +20,11 @@ namespace Barotrauma
private static float damageOverlayTimer;
public static void Reset()
{
damageOverlayTimer = 0.0f;
}
public static void TakeDamage(float amount)
{
healthBar.Flash();