From 3fd64dfe52bd52190c041c1641489c36b4945e76 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 17 Aug 2013 12:39:46 +1200 Subject: [PATCH] Remove dead InitialCash setting from PlayerReference. --- OpenRA.Editor/LegacyMapImporter.cs | 3 --- OpenRA.FileFormats/Map/PlayerReference.cs | 1 - 2 files changed, 4 deletions(-) diff --git a/OpenRA.Editor/LegacyMapImporter.cs b/OpenRA.Editor/LegacyMapImporter.cs index 778366a6ef..b64290e9a9 100644 --- a/OpenRA.Editor/LegacyMapImporter.cs +++ b/OpenRA.Editor/LegacyMapImporter.cs @@ -475,9 +475,6 @@ namespace OpenRA.Editor Console.WriteLine(s.Key); switch (s.Key) { - case "Credits": - pr.InitialCash = int.Parse(s.Value); - break; case "Allies": pr.Allies = s.Value.Split(',').Intersect(players).Except(neutral).ToArray(); pr.Enemies = s.Value.Split(',').SymmetricDifference(players).Except(neutral).ToArray(); diff --git a/OpenRA.FileFormats/Map/PlayerReference.cs b/OpenRA.FileFormats/Map/PlayerReference.cs index d773161ba8..93a72589ab 100644 --- a/OpenRA.FileFormats/Map/PlayerReference.cs +++ b/OpenRA.FileFormats/Map/PlayerReference.cs @@ -39,7 +39,6 @@ namespace OpenRA.FileFormats public bool LockTeam = false; public int Team = 0; - public int InitialCash = 0; public string[] Allies = {}; public string[] Enemies = {};