Merge pull request #11513 from GraionDilach/idamage

Remove passing the warheads from DamageWarhead to AttackInfo.
This commit is contained in:
Matthias Mailänder
2016-07-16 14:26:43 +02:00
committed by GitHub
30 changed files with 69 additions and 64 deletions

View File

@@ -95,7 +95,7 @@ namespace OpenRA.Mods.RA.Traits
{
// Damage is inflicted by the chronosphere
if (!self.Disposed)
self.InflictDamage(chronosphere, int.MaxValue, null);
self.InflictDamage(chronosphere, new Damage(int.MaxValue));
});
return true;
}