Fix white lines at the bottom of units.

This commit is contained in:
Paul Chote
2013-06-25 18:21:42 +12:00
parent f52a1c1521
commit c886253738

View File

@@ -79,7 +79,7 @@ namespace OpenRA.Graphics
public void BeforeRender(WorldRenderer wr) {}
public void Render(WorldRenderer wr)
{
sprite.DrawAt(wr.ScreenPxPosition(pos) - 0.5f*scale*sprite.size, palette, scale);
sprite.DrawAt(wr.ScreenPxPosition(pos) - (0.5f*scale*sprite.size).ToInt2(), palette, scale);
}
public void RenderDebugGeometry(WorldRenderer wr)