added PaletteType enum

This commit is contained in:
Alli
2009-12-23 22:24:20 +13:00
parent 8fa02ea6a3
commit 9e950c84ca
16 changed files with 50 additions and 39 deletions

View File

@@ -48,7 +48,7 @@ namespace OpenRa.Game
public void AddLine(Player p, string text)
{
AddLine(paletteColors[p.Palette], p.PlayerName, text);
AddLine(paletteColors[(int) p.Palette], p.PlayerName, text);
}
public void AddLine(Color c, string from, string text)