Removed hard coded WeaponInfo section name from NukeLaunch

This commit is contained in:
Matthew Bowra-Dean
2010-03-06 22:58:26 +13:00
parent 2c2f014342
commit bca11ca2a7
4 changed files with 8 additions and 7 deletions

View File

@@ -57,8 +57,8 @@ namespace OpenRA.Traits
if (Owner != Owner.World.LocalPlayer)
Sound.Play("alaunch1.aud");
// TODO: FIRE ZE MISSILES
w.Add(new NukeLaunch(silo, order.TargetLocation));
//FIRE ZE MISSILES
w.Add(new NukeLaunch(silo, Info.MissileWeapon, order.TargetLocation));
});
Game.controller.CancelInputMode();