Per-player unit production. Also, fixed an interesting bug in Sequence.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using OpenRa.Game.Traits;
|
||||
using System.IO;
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace OpenRa.Game
|
||||
var ret = new MemoryStream();
|
||||
var w = new BinaryWriter(ret);
|
||||
w.Write((uint)Player.Palette | 0x80000000u);
|
||||
w.Write((byte)0xFF); //
|
||||
w.Write((byte)0xFF);
|
||||
w.Write(OrderString);
|
||||
w.Write(Subject == null ? 0xFFFFFFFF : Subject.ActorID);
|
||||
w.Write(TargetActor == null ? 0xFFFFFFFF : TargetActor.ActorID);
|
||||
@@ -112,4 +112,4 @@ namespace OpenRa.Game
|
||||
return new Order(subject, "BuildUnit", null, null, int2.Zero, unitName, Cursor.Default);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user