explode crates wired up again

This commit is contained in:
Chris Forbes
2010-04-02 10:53:15 +13:00
parent fb8549aa36
commit c63697e181

View File

@@ -20,10 +20,7 @@ namespace OpenRA.Mods.RA
public override void Activate(Actor collector) public override void Activate(Actor collector)
{ {
//self.World.AddFrameEndTask( Combat.DoExplosion(self, (info as ExplodeCrateActionInfo).Weapon, collector.CenterLocation.ToInt2(), 0);
// w => w.Add(new Bullet((info as ExplodeCrateActionInfo).Weapon, self.Owner,
// self, self.CenterLocation.ToInt2(), self.CenterLocation.ToInt2(),
// 0, 0)));
base.Activate(collector); base.Activate(collector);
} }
} }