From d7a3a310bf50c07c8b600217242e6b09a4466165 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@993157c7-ee19-0410-b2c4-bb4e9862e678> Date: Tue, 24 Jul 2007 11:10:17 +0000 Subject: [PATCH] git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1346 993157c7-ee19-0410-b2c4-bb4e9862e678 --- OpenRa.Game/Sidebar.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRa.Game/Sidebar.cs b/OpenRa.Game/Sidebar.cs index 022c7874f5..dee2316649 100644 --- a/OpenRa.Game/Sidebar.cs +++ b/OpenRa.Game/Sidebar.cs @@ -103,8 +103,8 @@ namespace OpenRa.Game foreach (SidebarItem i in items) i.Paint(spriteRenderer, region.Location); - Fill(region.Size.Y, new float2(region.Location.X, buildPos + region.Location.Y)); - Fill(region.Size.Y, new float2(region.Location.X + spriteWidth, unitPos + region.Location.Y)); + Fill(region.Size.Y + region.Location.Y, new float2(region.Location.X, buildPos + region.Location.Y)); + Fill(region.Size.Y + region.Location.Y, new float2(region.Location.X + spriteWidth, unitPos + region.Location.Y)); spriteRenderer.Flush();