add RALint checking to nearly everything
This commit is contained in:
@@ -63,9 +63,9 @@ namespace OpenRA.Traits
|
||||
|
||||
}
|
||||
self.CancelActivity();
|
||||
|
||||
// Pick the closed deploy direction to turn to
|
||||
if (self.traits.Contains<Unit>())
|
||||
|
||||
|
||||
if (self.traits.Contains<Unit>()) // Pick the closest deploy direction to turn to
|
||||
{
|
||||
// TODO: Pick the closest deploy direction
|
||||
var bestDir = info.DeployDirections[0];
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with OpenRA. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#endregion
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Drawing;
|
||||
#endregion
|
||||
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using OpenRA.FileFormats;
|
||||
using OpenRA.Graphics;
|
||||
using OpenRA.FileFormats;
|
||||
|
||||
namespace OpenRA.Traits
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user