WithMuzzleOverlay is decoration
This commit is contained in:
@@ -59,7 +59,11 @@ namespace OpenRA.Mods.Common.Traits.Render
|
|||||||
else
|
else
|
||||||
getFacing = () => WAngle.Zero;
|
getFacing = () => WAngle.Zero;
|
||||||
|
|
||||||
var muzzleFlash = new Animation(self.World, render.GetImage(self), getFacing);
|
var muzzleFlash = new Animation(self.World, render.GetImage(self), getFacing)
|
||||||
|
{
|
||||||
|
IsDecoration = true
|
||||||
|
};
|
||||||
|
|
||||||
visible.Add(barrel, false);
|
visible.Add(barrel, false);
|
||||||
anims.Add(barrel,
|
anims.Add(barrel,
|
||||||
new AnimationWithOffset(muzzleFlash,
|
new AnimationWithOffset(muzzleFlash,
|
||||||
|
|||||||
Reference in New Issue
Block a user