Fix a pile of compiler warnings.

This commit is contained in:
Paul Chote
2010-11-21 12:53:04 +13:00
parent 1461309dba
commit dba7335594
8 changed files with 7 additions and 20 deletions

View File

@@ -57,8 +57,6 @@ namespace OpenRA.Mods.RA
return NextActivity;
var attack = self.Trait<AttackBase>();
var range = attack.GetMaximumRange();
currentTarget = attack.ScanForTarget(self, null);
if( currentTarget != null )
inner = attack.GetAttackActivity( self, Target.FromActor(currentTarget), self.Info.Traits.Get<AutoTargetInfo>().AllowMovement );