Fix trail sprite size with zoom.

This commit is contained in:
Paul Chote
2015-11-28 11:13:06 +00:00
parent f8b0674ccc
commit 7a9f27aa11
2 changed files with 6 additions and 3 deletions

View File

@@ -214,7 +214,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", "moveflash")));
world.AddFrameEndTask(w => w.Add(new SpriteEffect(pos, world, "moveflsh", "moveflash", true)));
flashed = true;
}
}