Fix Smoke facings to not track spawner's facing

This commit is contained in:
reaperrr
2016-03-12 13:12:42 +01:00
parent c32bf9f8f7
commit d3ca9e1733
4 changed files with 8 additions and 8 deletions

View File

@@ -805,7 +805,7 @@ namespace OpenRA.Mods.Common.Effects
// Create the smoke trail effect
if (!string.IsNullOrEmpty(info.TrailImage) && --ticksToNextSmoke < 0 && (state != States.Freefall || info.TrailWhenDeactivated))
{
world.AddFrameEndTask(w => w.Add(new Smoke(w, pos - 3 * move / 2, () => renderFacing, info.TrailImage, trailPalette, info.TrailSequence)));
world.AddFrameEndTask(w => w.Add(new Smoke(w, pos - 3 * move / 2, renderFacing, info.TrailImage, trailPalette, info.TrailSequence)));
ticksToNextSmoke = info.TrailInterval;
}