fix newlines in source files

This commit is contained in:
Chris Forbes
2011-09-17 11:26:17 +12:00
parent 9480846250
commit 776a1aa817
7 changed files with 106 additions and 106 deletions

View File

@@ -78,12 +78,12 @@ namespace OpenRA.Traits
/* apply the damage modifiers, if we have any. */
var modifier = (float)self.TraitsImplementing<IDamageModifier>()
.Concat(self.Owner.PlayerActor.TraitsImplementing<IDamageModifier>())
.Select(t => t.GetDamageModifier(attacker, warhead)).Product();
.Select(t => t.GetDamageModifier(attacker, warhead)).Product();
if (!ignoreModifiers)
if (!ignoreModifiers)
damage = damage > 0 ? (int)(damage * modifier) : damage;
hp = Exts.Clamp(hp - damage, 0, MaxHP);
hp = Exts.Clamp(hp - damage, 0, MaxHP);
var ai = new AttackInfo
{