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

@@ -119,7 +119,7 @@ namespace OpenRA.Mods.Common.Traits.Render
if (Info.TerrainTypes.Contains(type) && !string.IsNullOrEmpty(Info.Image))
self.World.AddFrameEndTask(w => w.Add(new SpriteEffect(pos, self.World, Info.Image,
Info.Sequences.Random(Game.CosmeticRandom), Info.Palette, spawnFacing, Info.VisibleThroughFog)));
Info.Sequences.Random(Game.CosmeticRandom), Info.Palette, Info.VisibleThroughFog, false, spawnFacing)));
cachedPosition = self.CenterPosition;
cachedFacing = facing != null ? facing.Facing : 0;