Add facings support to SpriteEffect

This commit is contained in:
reaperrr
2016-04-13 21:01:56 +02:00
parent e781bf3e0d
commit ca7a17ea06
3 changed files with 4 additions and 4 deletions

View File

@@ -80,7 +80,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, Info.VisibleThroughFog)));
Info.Sequences.Random(Game.CosmeticRandom), Info.Palette, 0, Info.VisibleThroughFog)));
cachedPosition = self.CenterPosition;
ticks = 0;