fixing some spy bugs

This commit is contained in:
Chris Forbes
2010-01-16 15:15:11 +13:00
parent f475b0fbbd
commit dcc713077f
5 changed files with 35 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ namespace OpenRa.Game.Traits
abstract class RenderSimple : IRender, ITick
{
public Dictionary<string, AnimationWithOffset> anims = new Dictionary<string, AnimationWithOffset>();
public Animation anim { get { return anims[ "" ].Animation; } }
public Animation anim { get { return anims[""].Animation; } protected set { anims[""].Animation = anim; } }
public string GetImage(Actor self)
{