This commit is contained in:
juanjp600
2016-11-15 22:26:46 -03:00
9 changed files with 59 additions and 35 deletions
+2
View File
@@ -770,6 +770,8 @@ namespace Barotrauma
if (body == null || !body.Enabled) return;
System.Diagnostics.Debug.Assert(body.FarseerBody.FixtureList != null);
if (Math.Abs(body.LinearVelocity.X) > 0.01f || Math.Abs(body.LinearVelocity.Y) > 0.01f)
{
Submarine prevSub = Submarine;