Style fixes to some code comments in Mobile

This commit is contained in:
reaperrr
2018-05-04 20:14:46 +02:00
parent 6c5c4a129f
commit 030902f691

View File

@@ -453,15 +453,16 @@ namespace OpenRA.Mods.Common.Traits
if (IsTraitDisabled) if (IsTraitDisabled)
return; return;
/* initial fairly braindead implementation. */ // Initial fairly braindead implementation.
// don't allow ourselves to be pushed around by the enemy!
if (!force && self.Owner.Stances[nudger.Owner] != Stance.Ally) if (!force && self.Owner.Stances[nudger.Owner] != Stance.Ally)
return; /* don't allow ourselves to be pushed around return;
* by the enemy! */
// Don't nudge if we're busy doing something!
if (!force && !self.IsIdle) if (!force && !self.IsIdle)
return; /* don't nudge if we're busy doing something! */ return;
// pick an adjacent available cell. // Pick an adjacent available cell.
var availCells = new List<CPos>(); var availCells = new List<CPos>();
var notStupidCells = new List<CPos>(); var notStupidCells = new List<CPos>();