Move SpriteEffect facing parameter to the end

To avoid potential incompatibilities with downstream projects.
This commit is contained in:
reaperrr
2016-05-20 23:24:33 +02:00
parent 62aabffed9
commit dbd7606667
3 changed files with 3 additions and 3 deletions

View File

@@ -199,7 +199,7 @@ namespace OpenRA.Widgets
else if (o.TargetLocation != CPos.Zero)
{
var pos = world.Map.CenterOfCell(cell);
world.AddFrameEndTask(w => w.Add(new SpriteEffect(pos, world, "moveflsh", "idle", "moveflash", 0, true, true)));
world.AddFrameEndTask(w => w.Add(new SpriteEffect(pos, world, "moveflsh", "idle", "moveflash", true, true)));
flashed = true;
}
}