> +				disgusedAsRenderInfo = spy.DisgusedAsRenderInfo;
> +				Anim.ChangeImage(disguisedAsSprite ?? GetImage(self), disgusedAsRenderInfo.StandAnimations.Random(Game.CosmeticRandom));


s/disgused/disguised/g



On Sun, Dec 8, 2013 at 10:16 AM, Matthias Mailänder <
notifications@github.com> wrote:

> In OpenRA.Mods.RA/Render/RenderSpy.cs:
>
> >  			{
> > -				disguisedAsSprite = spy.disguisedAsSprite;
> > -				anim.ChangeImage(disguisedAsSprite ?? GetImage(self), info.StandAnimations.Random(Game.CosmeticRandom));
> > +				disguisedAsSprite = spy.DisguisedAsSprite;
> > +				disgusedAsRenderInfo = spy.DisgusedAsRenderInfo;
> > +				Anim.ChangeImage(disguisedAsSprite ?? GetImage(self), disgusedAsRenderInfo.StandAnimations.Random(Game.CosmeticRandom));
>
> This is the important change to fix the crash. ^
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/OpenRA/OpenRA/pull/4254/files#r8182774>
> .
>