Fixed incorrectly length in character position updates (1 bit off), clients read pad bits in position updates
This commit is contained in:
@@ -455,6 +455,8 @@ namespace Barotrauma
|
||||
tempBuffer.Write(SimPosition.X);
|
||||
tempBuffer.Write(SimPosition.Y);
|
||||
|
||||
tempBuffer.WritePadBits();
|
||||
|
||||
msg.Write((byte)tempBuffer.LengthBytes);
|
||||
msg.Write(tempBuffer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user