swap args to PlayerColorRemap

This commit is contained in:
Chris Forbes
2011-10-21 22:11:40 +13:00
parent 4a30019536
commit 4c26710ccb
4 changed files with 4 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ namespace OpenRA.Traits
{
var paletteName = "{0}{1}".F( info.BaseName, owner.InternalName );
var newpal = new Palette(wr.GetPalette(info.BasePalette),
new PlayerColorRemap(owner.ColorRamp, info.PaletteFormat));
new PlayerColorRemap(info.PaletteFormat, owner.ColorRamp));
wr.AddPalette(paletteName, newpal);
}
}