render actors using correct palettes in editor

This commit is contained in:
Chris Forbes
2010-11-02 10:30:22 +13:00
parent dd600d4590
commit 40126c52e8
2 changed files with 34 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ namespace OpenRA.Editor
{
static class RenderUtils
{
static ColorPalette MakeSystemPalette(Palette p)
public static ColorPalette MakeSystemPalette(Palette p)
{
ColorPalette pal;
using (var b = new Bitmap(1, 1, PixelFormat.Format8bppIndexed))