Fix style nits in other Attack traits (no logic changes).

This commit is contained in:
Paul Chote
2014-03-08 12:11:23 +13:00
parent a8bd25a6a5
commit 116e4acda3
8 changed files with 22 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
#region Copyright & License Information
/*
* Copyright 2007-2011 The OpenRA Developers (see AUTHORS)
* Copyright 2007-2014 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
@@ -19,11 +19,12 @@ namespace OpenRA.Mods.RA.Air
class AttackHeli : AttackFrontal
{
public AttackHeli(Actor self, AttackHeliInfo info) : base(self, info) { }
public AttackHeli(Actor self, AttackHeliInfo info)
: base(self, info) { }
public override Activity GetAttackActivity(Actor self, Target newTarget, bool allowMove)
{
return new HeliAttack( newTarget );
return new HeliAttack(newTarget);
}
}
}

View File

@@ -1,6 +1,6 @@
#region Copyright & License Information
/*
* Copyright 2007-2013 The OpenRA Developers (see AUTHORS)
* Copyright 2007-2014 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
@@ -19,7 +19,8 @@ namespace OpenRA.Mods.RA.Air
class AttackPlane : AttackFrontal
{
public AttackPlane(Actor self, AttackPlaneInfo info) : base(self, info) { }
public AttackPlane(Actor self, AttackPlaneInfo info)
: base(self, info) { }
public override Activity GetAttackActivity(Actor self, Target newTarget, bool allowMove)
{