Mercurial > repos > IBBoard.WarFoundry.Plugin.Rollcall
changeset 9:5f0259e69a7f
Remove call to add category to unit type because of changes in #32
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 15 Mar 2009 16:08:43 +0000 |
parents | 35bc86f8c283 |
children | 395f2bf0549e |
files | IBBoard.WarFoundry.Plugin.Rollcall.csproj RollcallUnitTypeParser.cs |
diffstat | 2 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/IBBoard.WarFoundry.Plugin.Rollcall.csproj Sat Feb 21 21:00:52 2009 +0000 +++ b/IBBoard.WarFoundry.Plugin.Rollcall.csproj Sun Mar 15 16:08:43 2009 +0000 @@ -19,7 +19,6 @@ <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> - <StartupObject /> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> @@ -28,7 +27,6 @@ <DefineConstants>TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> - <StartupObject /> </PropertyGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
--- a/RollcallUnitTypeParser.cs Sat Feb 21 21:00:52 2009 +0000 +++ b/RollcallUnitTypeParser.cs Sun Mar 15 16:08:43 2009 +0000 @@ -48,7 +48,6 @@ throw new InvalidFileException("Attribute 'Category' for "+unitID+" did not match a category"); } - unitType.AddCategory(mainCat); unitType.MainCategory = mainCat; unitType.MaxSize = GetRequiredNumericLine(section, "MaximumSize"); unitType.MinSize = GetNumericLine(section, "MinimumSize", 1);