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