Fix Missile projectile crashing with NRE if it has no Image

This commit is contained in:
reaperrr
2016-02-13 01:06:22 +01:00
parent 613854de91
commit 8729f39154

View File

@@ -841,6 +841,9 @@ namespace OpenRA.Mods.Common.Effects
if (info.ContrailLength > 0)
yield return contrail;
if (anim == null)
yield break;
var world = args.SourceActor.World;
if (!world.FogObscures(pos))
{