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

@@ -20,7 +20,7 @@ namespace OpenRa.Traits
if (info.Theatre == null ||
info.Theatre.ToLowerInvariant() == self.World.Map.Theater.ToLowerInvariant())
{
Log.Write("Loading palette {0} from file {1}", info.Name, info.Filename);
//Log.Write("Loading palette {0} from file {1}", info.Name, info.Filename);
self.World.WorldRenderer.AddPalette(info.Name, new Palette(FileSystem.Open(info.Filename)));
}
}