Make health bars 2 pixels shorter

This commit is contained in:
abcdefg30
2015-01-04 13:05:27 +01:00
parent be5fc0bc27
commit 4fed02cd74

View File

@@ -147,8 +147,8 @@ namespace OpenRA.Graphics
var bounds = actor.Bounds;
bounds.Offset(screenPos.X, screenPos.Y);
var start = new float2(bounds.Left, bounds.Top);
var end = new float2(bounds.Right, bounds.Top);
var start = new float2(bounds.Left + 1, bounds.Top);
var end = new float2(bounds.Right - 1, bounds.Top);
DrawHealthBar(wr, health, start, end);
DrawExtraBars(wr, start, end);