reduce coverage of UiOverlay sprites so you can see the building you're placing

This commit is contained in:
Chris Forbes
2010-11-24 20:10:14 +13:00
parent d0466714c8
commit d77563bdb0
2 changed files with 1 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ namespace OpenRA
for (int i = 0; i < Game.CellSize; i++)
for (int j = 0; j < Game.CellSize; j++)
data[i * Game.CellSize + j] = ((i + j) % 4 < 2) ? (byte)0 : paletteIndex;
data[i * Game.CellSize + j] = ((i+j) % 4 != 0) ? (byte)0 : paletteIndex;
return Game.modData.SheetBuilder.Add(data, new Size(Game.CellSize, Game.CellSize));
}