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

@@ -40,13 +40,11 @@ namespace OpenRA.Effects
readonly int targetAltitude = 400;
int altitude;
bool goingUp = true;
WeaponInfo weapon;
public NukeLaunch(Actor silo, string weapon, int2 targetLocation)
{
this.silo = silo;
this.targetLocation = targetLocation;
this.weapon = Rules.WeaponInfo[weapon];
anim = new Animation("nuke");
anim.PlayRepeating("up");
pos = silo.CenterLocation;