- opengl blur shader

- the "heal" console command cancels stun
- the camera shakes when the sub hits something only if controlled character is inside the sub
This commit is contained in:
Regalis
2016-05-18 11:45:38 +03:00
parent 63e5f02057
commit 1f2937fad1
6 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ namespace Barotrauma
shakeTargetPosition = Rand.Vector(Shake);
shakePosition = Vector2.Lerp(shakePosition, shakeTargetPosition, 0.5f);
Shake = MathHelper.Lerp(Shake, 0.0f, 0.03f);
Shake = MathHelper.Lerp(Shake, 0.0f, deltaTime*2.0f);
Translate(moveCam+shakePosition);
}