Fix graphic corruptions by returning the max palette number to 16

This commit is contained in:
Paul Chote
2010-02-04 22:37:17 +13:00
parent 302af4edce
commit 6c99b33364
7 changed files with 30 additions and 17 deletions

View File

@@ -35,9 +35,9 @@ namespace OpenRa.Graphics
// TODO: Implement
public int GetPaletteIndex(string name)
{
return 0;
return palette.GetPaletteIndex(name);
}
public Palette GetPalette(string name)
{
return palette.GetPalette(name);