Unstable v0.19.3.0

This commit is contained in:
Juan Pablo Arce
2022-09-02 15:10:56 -03:00
parent 28789616bd
commit 3f2c843247
336 changed files with 7152 additions and 7739 deletions
@@ -11,8 +11,8 @@ namespace Barotrauma
float MaxVel = NetConfig.MaxPhysicsBodyVelocity;
float MaxAngularVel = NetConfig.MaxPhysicsBodyAngularVelocity;
msg.Write(SimPosition.X);
msg.Write(SimPosition.Y);
msg.WriteSingle(SimPosition.X);
msg.WriteSingle(SimPosition.Y);
#if DEBUG
if (Math.Abs(FarseerBody.LinearVelocity.X) > MaxVel ||
@@ -22,8 +22,8 @@ namespace Barotrauma
}
#endif
msg.Write(FarseerBody.Awake);
msg.Write(FarseerBody.FixedRotation);
msg.WriteBoolean(FarseerBody.Awake);
msg.WriteBoolean(FarseerBody.FixedRotation);
if (!FarseerBody.FixedRotation)
{