fixed broken UiOverlay

This commit is contained in:
Chris Forbes
2009-10-11 10:54:09 +13:00
parent 0eee005d52
commit cdf56c278f
3 changed files with 7 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ namespace OpenRa.Game
for (int i = 0; i < width; i++)
for (int j = 0; j < height; j++)
spriteRenderer.DrawSprite(passableAt(position.X + i, position.Y + j) ? buildOk : buildBlocked,
24 * (position + new int2(i, j)) + game.viewport.Location, 0);
24 * (position + new int2(i, j)), 0);
spriteRenderer.Flush();
}