some more hax

This commit is contained in:
alzeih
2010-07-22 18:01:32 +12:00
parent 6be4e5c266
commit 1497c31908
3 changed files with 3 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ namespace OpenRA.Mods.Cnc.Effects
public IonCannon(Actor firedBy, World world, int2 location)
{
this.firedBy = firedBy;
target = Target.FromPos(OpenRA.Traits.Util.CenterOfCell(location));
target = Target.FromCell(location);
anim = new Animation("ionsfx");
anim.PlayThen("idle", () => Finish(world));
}