(a00338777) v0.9.2.1
This commit is contained in:
@@ -144,7 +144,7 @@ namespace Barotrauma
|
||||
1.0f / bodyShapeTextureScale, SpriteEffects.None, 0.0f);
|
||||
}
|
||||
|
||||
public PosInfo ClientRead(ServerNetObject type, NetBuffer msg, float sendingTime, string parentDebugName)
|
||||
public PosInfo ClientRead(ServerNetObject type, IReadMessage msg, float sendingTime, string parentDebugName)
|
||||
{
|
||||
float MaxVel = NetConfig.MaxPhysicsBodyVelocity;
|
||||
float MaxAngularVel = NetConfig.MaxPhysicsBodyAngularVelocity;
|
||||
@@ -156,8 +156,8 @@ namespace Barotrauma
|
||||
float? newAngularVelocity = null;
|
||||
|
||||
newPosition = new Vector2(
|
||||
msg.ReadFloat(),
|
||||
msg.ReadFloat());
|
||||
msg.ReadSingle(),
|
||||
msg.ReadSingle());
|
||||
|
||||
awake = msg.ReadBoolean();
|
||||
bool fixedRotation = msg.ReadBoolean();
|
||||
|
||||
Reference in New Issue
Block a user