Show disabled HitShapes in gray

Instead of disabling their debug overlay entirely.
This commit is contained in:
reaperrr
2021-05-30 20:54:33 +02:00
committed by Paul Chote
parent 7356f2506b
commit 6d55161043
7 changed files with 38 additions and 27 deletions

View File

@@ -133,7 +133,7 @@ namespace OpenRA.Mods.Common.Traits
{
var origin = turret != null ? self.CenterPosition + turret.Position(self) : self.CenterPosition;
var orientation = turret != null ? turret.WorldOrientation : self.Orientation;
return Info.Type.RenderDebugOverlay(wr, origin, orientation);
return Info.Type.RenderDebugOverlay(this, wr, origin, orientation);
}
}
}