removed old WeaponInfo

This commit is contained in:
Chris Forbes
2010-04-01 19:16:46 +13:00
parent a00abdab85
commit 1f1e748f1b
9 changed files with 11 additions and 63 deletions

View File

@@ -59,9 +59,9 @@ namespace OpenRA.Mods.Aftermath
//w.Add(new Bullet(info.PrimaryWeapon, detonatedBy.Owner, detonatedBy,
// detonateLocation, detonateLocation, altitude, altitude));
var weapon = Rules.WeaponInfo[info.PrimaryWeapon];
if (!string.IsNullOrEmpty(weapon.Report))
Sound.Play(weapon.Report + ".aud");
//var weapon = Rules.WeaponInfo[info.PrimaryWeapon];
//if (!string.IsNullOrEmpty(weapon.Report))
// Sound.Play(weapon.Report + ".aud");
// Remove from world
self.Health = 0;