bullet/lobbed sortof work now

This commit is contained in:
Chris Forbes
2010-04-01 18:06:58 +13:00
parent d27e7e22e8
commit 11121baf23
4 changed files with 42 additions and 59 deletions

View File

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