Changed character update IDs from uint to ushort

This commit is contained in:
Regalis
2017-02-06 16:24:11 +02:00
parent 4b8d1054b1
commit 462a8b5da8
2 changed files with 16 additions and 20 deletions
+3 -3
View File
@@ -17,19 +17,19 @@ namespace Barotrauma
public readonly Direction Direction;
public readonly float Timestamp;
public readonly UInt32 ID;
public readonly UInt16 ID;
public PosInfo(Vector2 pos, Direction dir, float time)
: this(pos, dir, 0, time)
{
}
public PosInfo(Vector2 pos, Direction dir, UInt32 ID)
public PosInfo(Vector2 pos, Direction dir, UInt16 ID)
: this(pos, dir, ID, 0.0f)
{
}
public PosInfo(Vector2 pos, Direction dir, UInt32 ID, float time)
public PosInfo(Vector2 pos, Direction dir, UInt16 ID, float time)
{
Position = pos;
Direction = dir;