Allow Autotarget to have a custom scan radius, use it for VICE.

This commit is contained in:
Paul Chote
2011-03-23 20:31:27 +13:00
parent 3071cd8240
commit b7262b6490
4 changed files with 62 additions and 51 deletions

View File

@@ -80,7 +80,7 @@ namespace OpenRA.Mods.RA
public override IActivity Tick( Actor self )
{
self.Trait<AttackBase>().ScanAndAttack(self, true);
self.Trait<AutoTarget>().ScanAndAttack(self, true, false);
if( inner == null )
return NextActivity;