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

@@ -33,10 +33,11 @@ namespace OpenRA.Traits
var unit = self.traits.GetOrDefault<Unit>();
var altitude = unit != null ? unit.Altitude : 0;
self.World.AddFrameEndTask(
w => w.Add(new Bullet("UnitExplode", e.Attacker.Owner, e.Attacker,
self.CenterLocation.ToInt2(), self.CenterLocation.ToInt2(),
altitude, altitude)));
// self.World.AddFrameEndTask(
// w => w.Add(new Bullet(
// "UnitExplode", e.Attacker.Owner, e.Attacker,
// self.CenterLocation.ToInt2(), self.CenterLocation.ToInt2(),
// altitude, altitude)));
}
}
}