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());
}
}

BIN
mods/ra/bits/gpsdot.shp Normal file

Binary file not shown.

View File

@@ -226,6 +226,8 @@ HARV:
Range: 4
RenderUnit:
-AttackMove:
GpsDot:
String:Harvester
MCV:
Inherits: ^Vehicle

View File

@@ -1929,4 +1929,6 @@ gpsdot:
Start: 3
Plane:
Start: 4
Harvester:
Start: 5