diff API/Objects/UnitType.cs @ 487:248df19652f9

Re #410: Create "N units per M models in parent unit" requirement * Add null adding context * Add initial skeleton of "N units per M models in parent unit" requirement * Update use of context * Standardise some of "is applicable" testing
author IBBoard <dev@ibboard.co.uk>
date Fri, 27 Jul 2012 20:31:12 +0100
parents 95c1b68a600b
children
line wrap: on
line diff
--- a/API/Objects/UnitType.cs	Sun Jul 15 21:01:47 2012 +0100
+++ b/API/Objects/UnitType.cs	Fri Jul 27 20:31:12 2012 +0100
@@ -19,7 +19,8 @@
 		private int min = 0;
 		private int max = WarFoundryCore.INFINITY;
 		private int baseSize = 0;
-		private int minSize, maxSize;
+		private int minSize = 1;
+		private int maxSize = WarFoundryCore.INFINITY;
 		private double baseUnitCost;
 		private double costPerTrooper;
 		private Stats stats;