Remove debug

This commit is contained in:
Paul Chote
2010-02-05 10:23:13 +13:00
parent e7f376dc58
commit 6ef9bf830a
2 changed files with 0 additions and 4 deletions

View File

@@ -356,9 +356,6 @@ namespace OpenRa
var d = left ? +1 : Player.PlayerColors.Count() - 1; var d = left ? +1 : Player.PlayerColors.Count() - 1;
var newIndex = ((int)Game.world.LocalPlayer.PaletteIndex + d) % Player.PlayerColors.Count(); var newIndex = ((int)Game.world.LocalPlayer.PaletteIndex + d) % Player.PlayerColors.Count();
Game.IssueOrder(
Order.Chat("color count " + Player.PlayerColors.Count()));
while (!PaletteAvailable(newIndex) && newIndex != (int)Game.world.LocalPlayer.PaletteIndex) while (!PaletteAvailable(newIndex) && newIndex != (int)Game.world.LocalPlayer.PaletteIndex)
newIndex = (newIndex + d) % Player.PlayerColors.Count(); newIndex = (newIndex + d) % Player.PlayerColors.Count();

View File

@@ -39,7 +39,6 @@ namespace OpenRa
public static void RegisterPlayerColor(string palette, string name, Color c) public static void RegisterPlayerColor(string palette, string name, Color c)
{ {
Log.Write("Adding player color {0}",name);
PlayerColors.Add(new Tuple<string, string, Color>(palette, name, c)); PlayerColors.Add(new Tuple<string, string, Color>(palette, name, c));
} }