git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1345 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -40,10 +40,10 @@ namespace OpenRa.Game
|
||||
for (int i = 0; i < width; i++)
|
||||
for (int j = 0; j < height; j++)
|
||||
spriteRenderer.DrawSprite(blocked ? buildBlocked : buildOk,
|
||||
24 * (position + new int2(i, j)), 0);
|
||||
24 * (position + new int2(i, j)) + game.viewport.Location, 0);
|
||||
}
|
||||
|
||||
bool hasOverlay = false, blocked;
|
||||
bool blocked, hasOverlay;
|
||||
int2 position;
|
||||
int width, height;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user