separated 'index' from 'palette' in player

This commit is contained in:
Chris Forbes
2009-11-01 23:22:08 +13:00
parent e62a0bc717
commit 90ba576cc6
4 changed files with 7 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ namespace OpenRa.Game
Rules.LoadRules(mapName);
for (int i = 0; i < 8; i++)
players.Add(i, new Player(i, string.Format("Multi{0}", i), Race.Allies));
players.Add(i, new Player(i, i, string.Format("Multi{0}", i), Race.Allies));
localPlayerIndex = localPlayer;