proper handling of dirty sheets (about 2 years overdue)

This commit is contained in:
Chris Forbes
2010-03-17 22:32:12 +13:00
parent cbf11c3559
commit d37a59d1c9
3 changed files with 11 additions and 9 deletions

View File

@@ -111,6 +111,7 @@ namespace OpenRA.Graphics
}
Sprite rect = new Sprite(current, new Rectangle(p, imageSize), channel.Value);
current.MakeDirty();
p.X += imageSize.Width;
return rect;