- 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:
@@ -485,7 +485,11 @@ namespace Barotrauma
|
||||
Vector2 lastContactPoint = worldPoints[0];
|
||||
|
||||
SoundPlayer.PlayDamageSound(DamageSoundType.StructureBlunt, impact * 10.0f, ConvertUnits.ToDisplayUnits(lastContactPoint));
|
||||
GameMain.GameScreen.Cam.Shake = impact * 2.0f;
|
||||
|
||||
if (Character.Controlled != null && Character.Controlled.Submarine == submarine)
|
||||
{
|
||||
GameMain.GameScreen.Cam.Shake = impact * 2.0f;
|
||||
}
|
||||
|
||||
Vector2 impulse = direction * impact * 0.5f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user