Fix order serialization issues.

This commit is contained in:
RoosterDragon
2018-01-19 20:24:52 +00:00
committed by reaperrr
parent 3af6ffc017
commit a726b57367
4 changed files with 94 additions and 54 deletions

View File

@@ -65,6 +65,14 @@ namespace OpenRA.Network
{
w.Write(cell.X);
w.Write(cell.Y);
w.Write(cell.Layer);
}
public static void Write(this BinaryWriter w, WPos pos)
{
w.Write(pos.X);
w.Write(pos.Y);
w.Write(pos.Z);
}
}
}