Convert range circle rendering to world coords.

This commit is contained in:
Paul Chote
2013-12-24 10:56:49 +13:00
parent 253349e3eb
commit 1a31368953
8 changed files with 47 additions and 30 deletions

View File

@@ -152,9 +152,12 @@ namespace OpenRA.Mods.RA
if (self.Owner != self.World.LocalPlayer)
return;
wr.DrawRangeCircle(
wr.DrawRangeCircleWithContrast(
self.CenterPosition,
WRange.FromCells(self.Trait<ChronoshiftDeploy>().Info.JumpDistance),
Color.FromArgb(128, Color.DeepSkyBlue),
wr.ScreenPxPosition(self.CenterPosition), (int)self.Trait<ChronoshiftDeploy>().Info.JumpDistance);
Color.FromArgb(96, Color.Black)
);
}
}
}