add custom icon for harvester
This commit is contained in:
@@ -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
BIN
mods/ra/bits/gpsdot.shp
Normal file
Binary file not shown.
@@ -226,6 +226,8 @@ HARV:
|
||||
Range: 4
|
||||
RenderUnit:
|
||||
-AttackMove:
|
||||
GpsDot:
|
||||
String:Harvester
|
||||
|
||||
MCV:
|
||||
Inherits: ^Vehicle
|
||||
|
||||
@@ -1929,4 +1929,6 @@ gpsdot:
|
||||
Start: 3
|
||||
Plane:
|
||||
Start: 4
|
||||
Harvester:
|
||||
Start: 5
|
||||
|
||||
|
||||
Reference in New Issue
Block a user