what a hack, but the cursors work and the terrain doesnt break anymore

This commit is contained in:
Chris Forbes
2009-10-15 19:15:40 +13:00
parent b2f1d2aa88
commit 9a9452c3fa
8 changed files with 48 additions and 6 deletions

View File

@@ -32,6 +32,8 @@ namespace OpenRa.Game.Graphics
Size tileSize = new Size( Game.CellSize, Game.CellSize );
SheetBuilder.ForceNewSheet();
var tileMapping = new Cache<TileReference, Sprite>(
x => SheetBuilder.Add(tileSet.GetBytes(x), tileSize));