This commit is contained in:
Regalis
2015-11-20 17:44:38 +02:00
parent cddf4f1bde
commit 91fa25ecd2
7 changed files with 35 additions and 18 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ namespace Barotrauma
//how fast the sub is moving, scaled to 0.0 -> 1.0
float movementFactor = 0.0f;
if (Submarine.Loaded!=null)
if (Submarine.Loaded != null)
{
movementFactor = (Submarine.Loaded.Speed == Vector2.Zero) ? 0.0f : Submarine.Loaded.Speed.Length() / 500.0f;