Record the SheetType in each Sheet.

This commit is contained in:
Paul Chote
2015-09-28 18:23:25 +01:00
parent 426e187a4c
commit e819ff832b
13 changed files with 23 additions and 18 deletions

View File

@@ -41,7 +41,7 @@ namespace OpenRA.Mods.Cnc
r = Game.Renderer;
if (r == null) return;
sheet = new Sheet(Platform.ResolvePath(loadInfo["Image"]));
sheet = new Sheet(SheetType.BGRA, Platform.ResolvePath(loadInfo["Image"]));
var res = r.Resolution;
bounds = new Rectangle(0, 0, res.Width, res.Height);