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

@@ -39,7 +39,7 @@ namespace OpenRA.Mods.Aftermath
self.World.AddFrameEndTask( w =>
{
Combat.DoExplosion(self, info.PrimaryWeapon, Target.FromActor(self), altitude);
Combat.DoExplosion(self, info.PrimaryWeapon, self.CenterLocation, altitude);
var report = self.GetPrimaryWeapon().Report;
if (report != null)
Sound.Play(report + ".aud", self.CenterLocation);