store Actors, not ActorIds, in Order.

This commit is contained in:
Bob
2010-01-20 13:09:25 +13:00
parent 6d4a69fa9b
commit 645760a60b
4 changed files with 8 additions and 28 deletions

View File

@@ -45,7 +45,6 @@ namespace OpenRa.Orders
{
var p = Game.controller.MousePosition;
var c = Order(p.ToInt2(), mi)
.Where(o => o.Validate())
.Select(o => CursorForOrderString(o.OrderString, o.Subject, o.TargetLocation))
.FirstOrDefault(a => a != null);