fix mslo nuke offset

This commit is contained in:
Chris Forbes
2010-08-01 13:03:53 +12:00
parent 5b5378ae6c
commit 718b0e7613
3 changed files with 11 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ namespace OpenRA.Mods.RA.Effects
bool goingUp = true;
string weapon;
public NukeLaunch(Actor silo, string weapon, int2 targetLocation)
public NukeLaunch(Actor silo, string weapon, int2 spawnOffset, int2 targetLocation)
{
this.silo = silo;
this.targetLocation = targetLocation;
@@ -39,7 +39,7 @@ namespace OpenRA.Mods.RA.Effects
StartDescent(Game.world);
}
else
pos = silo.CenterLocation;
pos = silo.CenterLocation + spawnOffset;
}
void StartDescent(World world)