undo ProjectileArgs stuff

This commit is contained in:
Chris Forbes
2010-07-22 18:59:41 +12:00
parent 6d527c3668
commit 31d5d18d65
7 changed files with 10 additions and 10 deletions

View File

@@ -32,7 +32,7 @@ namespace OpenRA.Mods.RA
{
var unit = self.traits.GetOrDefault<Unit>();
var altitude = unit != null ? unit.Altitude : 0;
Combat.DoExplosion(e.Attacker, weapon, Target.FromActor(self), altitude);
Combat.DoExplosion(e.Attacker, weapon, self.CenterLocation, altitude);
}
}
}