add RALint checking to nearly everything

This commit is contained in:
Chris Forbes
2010-07-01 18:57:10 +12:00
parent 8974fb7ae8
commit 5bec019d55
30 changed files with 56 additions and 44 deletions

View File

@@ -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];

View File

@@ -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
{