Fix graphic corruptions by returning the max palette number to 16
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user