Mercurial > repos > snowblizz-super-API-ideas
changeset 207:897c53d5a8aa
Re #208
* Make "unitSizeLimit" a percentage so that editing "equip all" type items like the Ork Choppas behaves correctly
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 09 Nov 2009 12:30:05 +0000 |
parents | 0ca96143aa03 |
children | e8e9026dd4ea |
files | api/Factories/Xml/WarFoundryXmlRaceFactory.cs |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/api/Factories/Xml/WarFoundryXmlRaceFactory.cs Mon Nov 09 12:20:34 2009 +0000 +++ b/api/Factories/Xml/WarFoundryXmlRaceFactory.cs Mon Nov 09 12:30:05 2009 +0000 @@ -200,7 +200,7 @@ limit = new AbsoluteNumericLimit(XmlTools.GetIntValueFromAttribute(limitElem, "limit")); break; case "unitSizeLimit": - limit = new NumericSizeConstrainedLimit(); + limit = new SimpleRoundedPercentageLimit(100); break; default: //TODO: Warn of missing handler for when we've extended the limit list