add custom icon for harvester

This commit is contained in:
Chris Forbes
2011-05-02 20:00:56 +12:00
parent dd4c5508fa
commit 2912c921de
4 changed files with 6 additions and 2 deletions

View File

@@ -11,8 +11,8 @@
using System.Collections.Generic;
using System.Drawing;
using OpenRA.Effects;
using OpenRA.Traits;
using OpenRA.Graphics;
using OpenRA.Traits;
namespace OpenRA.Mods.RA.Effects
{
@@ -71,7 +71,7 @@ namespace OpenRA.Mods.RA.Effects
public IEnumerable<Renderable> Render()
{
if (show)
if (show && !self.Destroyed)
yield return Traits.Util.Centered(self, anim.Image, self.CenterLocation.ToFloat2());
}
}