Minor changes on Sidebar

This commit is contained in:
Bob
2009-10-30 04:44:29 +13:00
parent 0af1e86e65
commit 179d071a97
5 changed files with 234 additions and 233 deletions

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using OpenRa.FileFormats;
using OpenRa.Game.GameRules;
using IjwFramework.Types;
namespace OpenRa.TechTree
{
@@ -33,7 +34,7 @@ namespace OpenRa.TechTree
Race race = Race.None;
foreach (string s in owners)
race |= (Race)Enum.Parse(typeof(Race), s, true);
race |= Enum<Race>.Parse(s);
return race;
}