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

@@ -56,8 +56,8 @@ namespace OpenRA.Mods.Aftermath
self.World.AddFrameEndTask( w =>
{
// Fire weapon
w.Add(new Bullet(info.PrimaryWeapon, detonatedBy.Owner, detonatedBy,
detonateLocation, detonateLocation, altitude, altitude));
//w.Add(new Bullet(info.PrimaryWeapon, detonatedBy.Owner, detonatedBy,
// detonateLocation, detonateLocation, altitude, altitude));
var weapon = Rules.WeaponInfo[info.PrimaryWeapon];
if (!string.IsNullOrEmpty(weapon.Report))