Make CanTarget modifiers a ref parameter.

This commit is contained in:
Paul Chote
2015-11-16 20:38:53 +00:00
parent d2d4767e94
commit 124c0ea041
11 changed files with 13 additions and 13 deletions

View File

@@ -130,7 +130,7 @@ namespace OpenRA.Orders
modifiers |= TargetModifiers.ForceMove;
string cursor = null;
if (o.Order.CanTarget(self, target, actorsAt, modifiers, ref cursor))
if (o.Order.CanTarget(self, target, actorsAt, ref modifiers, ref cursor))
return new UnitOrderResult(self, o.Order, o.Trait, cursor, target);
}
}