wired up Explodes again; categories != targettypes
This commit is contained in:
@@ -32,12 +32,7 @@ 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)));
|
||||
Combat.DoExplosion(e.Attacker, "UnitExplode", self.CenterLocation.ToInt2(), altitude);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user