diff --git a/OpenRA.Mods.RA/Effects/GpsDot.cs b/OpenRA.Mods.RA/Effects/GpsDot.cs index 6614dc10a8..e14eda5b8f 100644 --- a/OpenRA.Mods.RA/Effects/GpsDot.cs +++ b/OpenRA.Mods.RA/Effects/GpsDot.cs @@ -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 Render() { - if (show) + if (show && !self.Destroyed) yield return Traits.Util.Centered(self, anim.Image, self.CenterLocation.ToFloat2()); } } diff --git a/mods/ra/bits/gpsdot.shp b/mods/ra/bits/gpsdot.shp new file mode 100644 index 0000000000..21444bbc19 Binary files /dev/null and b/mods/ra/bits/gpsdot.shp differ diff --git a/mods/ra/rules/vehicles.yaml b/mods/ra/rules/vehicles.yaml index 87da3b489a..b034ca1a40 100644 --- a/mods/ra/rules/vehicles.yaml +++ b/mods/ra/rules/vehicles.yaml @@ -226,6 +226,8 @@ HARV: Range: 4 RenderUnit: -AttackMove: + GpsDot: + String:Harvester MCV: Inherits: ^Vehicle diff --git a/mods/ra/sequences.yaml b/mods/ra/sequences.yaml index 6a21b956a4..d0942b7585 100644 --- a/mods/ra/sequences.yaml +++ b/mods/ra/sequences.yaml @@ -1929,4 +1929,6 @@ gpsdot: Start: 3 Plane: Start: 4 + Harvester: + Start: 5